[archstudio-commits] svn commit: r7069 - in /archstudio4/branches/enhancements/edu.uci.isr.archstudio4: res/eclipse/ src/edu/uci/isr/archstudio4/comp/archipelago/generic/logics/editing/ src/edu/uci/isr/archstudio4/comp/archipelago/generic/logics/editing/dialogs/

archstudio-commits-owner at uci.edu archstudio-commits-owner at uci.edu
Fri May 2 13:01:59 PDT 2008


Author: ssubrama
Date: Fri May  2 13:01:59 2008
New Revision: 7069

Log:
Copy Paste with Recursive search.

Modified:
    archstudio4/branches/enhancements/edu.uci.isr.archstudio4/res/eclipse/A=
rchStudio 4 (debug).launch
    archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/INode.java
    archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/XadlCopyPasteLogic.j=
ava
    archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/dialogs/OptionsDialo=
g.java

Modified: archstudio4/branches/enhancements/edu.uci.isr.archstudio4/res/ecl=
ipse/ArchStudio 4 (debug).launch
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- archstudio4/branches/enhancements/edu.uci.isr.archstudio4/res/eclipse/A=
rchStudio 4 (debug).launch (original)
+++ archstudio4/branches/enhancements/edu.uci.isr.archstudio4/res/eclipse/A=
rchStudio 4 (debug).launch Fri May  2 13:01:59 2008
@@ -27,18 +27,18 @@
 <mapAttribute key=3D"tracingOptions">
 <mapEntry key=3D"org.eclipse.team.cvs.core/syncchangeevents" value=3D"fals=
e"/>
 <mapEntry key=3D"org.eclipse.equinox.registry/debug" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.osgi/defaultprofile/logfilename" value=3D""/>
 <mapEntry key=3D"org.eclipse.help.webapp/debug/workingsets" value=3D"false=
"/>
-<mapEntry key=3D"org.eclipse.core.resources/perf/listeners" value=3D"500"/>
-<mapEntry key=3D"org.eclipse.jface.text/debug/ContentAssistSubjectAdapters=
" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.osgi/defaultprofile/logfilename" value=3D""/>
 <mapEntry key=3D"org.eclipse.core.runtime/url/debug/connect" value=3D"fals=
e"/>
+<mapEntry key=3D"org.eclipse.jface.text/debug/ContentAssistSubjectAdapters=
" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.core.resources/perf/listeners" value=3D"500"/>
 <mapEntry key=3D"org.eclipse.core.resources/restore/markers" value=3D"fals=
e"/>
 <mapEntry key=3D"org.eclipse.core.resources/build/needbuild" value=3D"fals=
e"/>
 <mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/viewer" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.ui/trace/graphics" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/resolution" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.team.cvs.ssh/ssh_protocol" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.update.configurator/debug" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.team.cvs.ssh/ssh_protocol" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/perf/snapshot" value=3D"1000"/>
 <mapEntry key=3D"org.eclipse.osgi/monitor/activation" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/build/needbuildstack" value=3D=
"false"/>
@@ -47,38 +47,38 @@
 <mapEntry key=3D"org.eclipse.core.resources/contenttype/cache" value=3D"fa=
lse"/>
 <mapEntry key=3D"edu.uci.isr.archstudio4/lifecycle" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.core.jobs/jobs/shutdown" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/updateSequence" value=
=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.runtime/url/debug" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui/perf/part.init" value=3D"800"/>
+<mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/updateSequence" value=
=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/monitor/classes" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ui/perf/part.init" value=3D"800"/>
 <mapEntry key=3D"org.eclipse.equinox.preferences/get" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.intro/trace/logPerformance" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.update.core/debug" value=3D"true"/>
-<mapEntry key=3D"org.eclipse.core.runtime/debug/context" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/converter/debug" value=3D=
"false"/>
+<mapEntry key=3D"org.eclipse.core.runtime/debug/context" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/part.create" value=3D"800"/>
 <mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/debug/platformadmin" valu=
e=3D"false"/>
-<mapEntry key=3D"org.eclipse.core.jobs/jobs/locks" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.help.ui/debug/embeddedBrowser" value=3D"false=
"/>
+<mapEntry key=3D"org.eclipse.core.jobs/jobs/locks" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/debug/swtdebug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/javamodel" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.equinox.preferences/set" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.core/streams" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.intro.universal/trace/logInfo" value=3D"tr=
ue"/>
-<mapEntry key=3D"org.eclipse.core.resources/build/stacktrace" value=3D"fal=
se"/>
 <mapEntry key=3D"org.eclipse.ui/trace/keyBindings" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui.intro/trace/printHTML" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.core.resources/build/stacktrace" value=3D"fal=
se"/>
 <mapEntry key=3D"org.eclipse.debug.core/debug/events" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.equinox.registry/debug/events" value=3D"false=
"/>
+<mapEntry key=3D"org.eclipse.ui.intro/trace/printHTML" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.ui/debug/TypeConstraints" value=3D"false"=
/>
+<mapEntry key=3D"org.eclipse.equinox.registry/debug/events" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/javadelta/verbose" value=3D"fa=
lse"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.core.expressions/tracePropertyResolving" valu=
e=3D"false"/>
-<mapEntry key=3D"org.eclipse.core.resources/restore" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ltk.core.refactoring/perf/participants/checkC=
onditions" value=3D"300"/>
+<mapEntry key=3D"org.eclipse.core.resources/restore" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/perspective.listeners" value=3D"200"/>
-<mapEntry key=3D"org.eclipse.core.jobs/jobs/beginend" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/perf/containerinitializer" value=3D"=
5000"/>
+<mapEntry key=3D"org.eclipse.core.jobs/jobs/beginend" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/trace/filename" value=3D"runtime.traces"=
/>
 <mapEntry key=3D"org.eclipse.core.resources/build/interrupt" value=3D"fals=
e"/>
 <mapEntry key=3D"org.eclipse.ui/perf/showHeapStatus" value=3D"true"/>
@@ -86,8 +86,8 @@
 <mapEntry key=3D"org.eclipse.ui/perf/contentTypes" value=3D"200"/>
 <mapEntry key=3D"org.eclipse.ui/trace/commands" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/debug" value=3D"true"/>
-<mapEntry key=3D"org.eclipse.osgi/trace/activation" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/build/delta" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.osgi/trace/activation" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/perspective.switch" value=3D"800"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/search" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/perf/completion" value=3D"300"/>
@@ -95,45 +95,45 @@
 <mapEntry key=3D"org.eclipse.ui/perf/part.input" value=3D"200"/>
 <mapEntry key=3D"org.eclipse.jface.text/debug/AnnotationPainter" value=3D"=
false"/>
 <mapEntry key=3D"org.eclipse.jdt.ui/debug" value=3D"true"/>
-<mapEntry key=3D"org.eclipse.update.core/debug/configuration" value=3D"fal=
se"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/javamodel/cache" value=3D"fals=
e"/>
+<mapEntry key=3D"org.eclipse.update.core/debug/configuration" value=3D"fal=
se"/>
 <mapEntry key=3D"org.eclipse.osgi/resolver/imports" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/debug/messageBundles" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/debug/platformadmin/resol=
ver" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.help.ui/debug/infopop" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/trace/filters" value=3D"trace.properties=
"/>
+<mapEntry key=3D"org.eclipse.help.ui/debug/infopop" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/debug/platformadmin/resol=
ver" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core.manipulation/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchWindow.IPartListener2"=
 value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchPage.IPartListener2" v=
alue=3D"false"/>
 <mapEntry key=3D"org.eclipse.equinox.preferences/general" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchPage.IPartListener2" v=
alue=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/perf/reconcile" value=3D"1000"/>
-<mapEntry key=3D"org.eclipse.help.webapp/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/hierarchy" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.core.resources/refresh" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.help.webapp/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.team.cvs.core/debug" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ltk.core.refactoring/perf/participants/create=
Changes" value=3D"300"/>
+<mapEntry key=3D"org.eclipse.core.resources/refresh" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.core/backgroundevents" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ltk.core.refactoring/perf/participants/create=
Changes" value=3D"300"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/cpresolution" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.cvs.core/threading" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.ui/perf/search/participants" value=3D"300=
"/>
-<mapEntry key=3D"org.eclipse.update.core/debug/warning" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/part.listeners" value=3D"200"/>
-<mapEntry key=3D"org.eclipse.osgi/resolver/debug" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.update.core/debug/warning" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/save" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.osgi/resolver/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.update.core/debug/install" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.help.ui/debug/embeddedBrowser/inprocess" valu=
e=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/debug" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.osgi/profile/impl" value=3D"org.eclipse.osgi.=
internal.profile.DefaultProfileLogger"/>
+<mapEntry key=3D"org.eclipse.help.ui/debug/embeddedBrowser/inprocess" valu=
e=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/part.control" value=3D"800"/>
+<mapEntry key=3D"org.eclipse.osgi/profile/impl" value=3D"org.eclipse.osgi.=
internal.profile.DefaultProfileLogger"/>
 <mapEntry key=3D"org.eclipse.osgi/profile/benchmark" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.update.core/debug/parsing" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.ui/perf/explorer/makeActions" value=3D"10=
00"/>
 <mapEntry key=3D"org.eclipse.core.resources/restore/syncinfo" value=3D"fal=
se"/>
-<mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/contentProvider" value=
=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.cvs.core/cvsprotocol" value=3D"true"/>
+<mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/contentProvider" value=
=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/postaction" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.team.core/threading" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchWindow.IPageListener" =
value=3D"false"/>
+<mapEntry key=3D"org.eclipse.team.core/threading" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.runtime/url/debug/cachelookup" value=3D"=
false"/>
 <mapEntry key=3D"org.eclipse.update.core/debug/reconciler" value=3D"false"=
/>
 <mapEntry key=3D"org.eclipse.osgi/debug/security" value=3D"false"/>
@@ -150,43 +150,43 @@
 <mapEntry key=3D"org.eclipse.team.cvs.ssh/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/trace/handlers.verbose" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/save/markers" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.osgi/debug/startlevel" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.update.core/debug/installhandler" value=3D"fa=
lse"/>
+<mapEntry key=3D"org.eclipse.osgi/debug/startlevel" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.runtime/preferences/plugin" value=3D"fal=
se"/>
 <mapEntry key=3D"org.eclipse.osgi/monitor/resources" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.jobs/jobs/timing" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.jdt.core/debug/javadelta" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/selection" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.core.resources/restore/tree" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.jdt.core/debug/javadelta" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/preferences" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.core.resources/restore/tree" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.help/debug/protocols" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/perf/save.participants" value=
=3D"500"/>
 <mapEntry key=3D"org.eclipse.jdt.ui/debug/ResultCollector" value=3D"false"=
/>
-<mapEntry key=3D"org.eclipse.jdt.ui/perf/explorer/createPartControl" value=
=3D"1300"/>
 <mapEntry key=3D"org.eclipse.core.resources/restore/snapshots" value=3D"fa=
lse"/>
-<mapEntry key=3D"org.eclipse.help.base/debug/search" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.jdt.ui/perf/explorer/createPartControl" value=
=3D"1300"/>
 <mapEntry key=3D"org.eclipse.core.resources/natures" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.help.base/debug/search" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.cvs.core/dirtycaching" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/defaultprofile/buffersize" value=3D"256"=
/>
-<mapEntry key=3D"org.eclipse.pde.core/cache" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/zipaccess" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.pde.core/cache" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.runtime/url/debug/cachecopy" value=3D"fa=
lse"/>
 <mapEntry key=3D"org.eclipse.osgi/resolver/cycles" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/perf/variableinitializer" value=3D"5=
000"/>
-<mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/model" value=3D"false"=
/>
 <mapEntry key=3D"org.eclipse.ui/trace/keyBindings.verbose" value=3D"false"=
/>
+<mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/model" value=3D"false"=
/>
 <mapEntry key=3D"org.eclipse.osgi/debug/bundleTime" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/trace/operations.verbose" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.cvs.core/metafiles" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.core/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/workbench.restore" value=3D"30000"/>
-<mapEntry key=3D"org.eclipse.ui/trace/contexts.performance" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.core.runtime/perf/success" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ui/trace/contexts.performance" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.osgi/debug/events" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.runtime/compatibility/debug" value=3D"fa=
lse"/>
 <mapEntry key=3D"org.eclipse.ui/debug/declaredImages" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.core.jobs/jobs/errorondeadlock" value=3D"fals=
e"/>
 <mapEntry key=3D"org.eclipse.osgi/debug/monitorbundles" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.core.jobs/jobs/errorondeadlock" value=3D"fals=
e"/>
 <mapEntry key=3D"org.eclipse.pde.build/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/debug/location" value=3D"=
false"/>
 <mapEntry key=3D"org.eclipse.ui/trace/contexts.verbose" value=3D"false"/>
@@ -195,8 +195,8 @@
 <mapEntry key=3D"org.eclipse.ui.ide/debug/internalerror/openDialog" value=
=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchPage.IPartListener" va=
lue=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.intro.universal/trace/logPerformance" valu=
e=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui/perf/perspective.create" value=3D"800"/>
 <mapEntry key=3D"org.eclipse.core.jobs/jobs" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ui/perf/perspective.create" value=3D"800"/>
 <mapEntry key=3D"org.eclipse.ui/trace/sources" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.debug.core/debug/commands" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/uijob" value=3D"200"/>
@@ -208,18 +208,18 @@
 <mapEntry key=3D"org.eclipse.debug.ui/debug/viewers/deltas" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.osgi/resolver/generics" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/part.activate" value=3D"200"/>
-<mapEntry key=3D"org.eclipse.osgi/resolver/wiring" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.intro.universal/debug" value=3D"true"/>
-<mapEntry key=3D"org.eclipse.jdt.core/perf/javadeltalistener" value=3D"500=
"/>
+<mapEntry key=3D"org.eclipse.osgi/resolver/wiring" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/profile/debug" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.jdt.core/perf/javadeltalistener" value=3D"500=
"/>
 <mapEntry key=3D"org.eclipse.core.runtime/perf" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/trace/contexts" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.contenttype/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.core.resources/build/invoking" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.core.resources/contenttype" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui/trace/operations" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.update.core/debug/type" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/perf/builders" value=3D"10000"=
/>
+<mapEntry key=3D"org.eclipse.update.core/debug/type" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ui/trace/operations" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/debug/contributions" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/debug/job.stale" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/page.listeners" value=3D"200"/>
@@ -227,43 +227,43 @@
 <mapEntry key=3D"org.eclipse.core.resources/history" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.team.core/refreshjob" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.intro/debug" value=3D"true"/>
-<mapEntry key=3D"org.eclipse.jdt.core/debug/completion" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/perf/workbench.start" value=3D"45000"/>
-<mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/debug" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.jdt.core/debug/completion" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.debug.core/debug" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.help/debug" value=3D"true"/>
+<mapEntry key=3D"org.eclipse.osgi/eclipseadaptor/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchWindow.IPartListener" =
value=3D"false"/>
+<mapEntry key=3D"org.eclipse.help/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.jface.text.source/debug/RevisionRulerColumn" =
value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui/debug" value=3D"false"/>
 <mapEntry key=3D"edu.uci.isr.archstudio4/debug" value=3D"true"/>
+<mapEntry key=3D"org.eclipse.ui/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.core/debug/indexmanager" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/debug/packageadmin" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchWindow.IPerspectiveLis=
tener" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/debug/loader" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.core.resources/build/failure" value=3D"false"=
/>
 <mapEntry key=3D"org.eclipse.ui/trace/handlers" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchPage.IPropertyChangeLi=
stener" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.workbench/debug" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.ui/listeners/IWorkbenchPage.IPropertyChangeLi=
stener" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.browser/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/save/tree" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.osgi/defaultprofile/logsynchronously" value=
=3D"false"/>
-<mapEntry key=3D"org.eclipse.osgi/trace/classLoading" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.help.ui/debug" value=3D"true"/>
-<mapEntry key=3D"org.eclipse.jface.text/debug/FastPartitioner/PositionCach=
e" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.osgi/trace/classLoading" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/restore/metainfo" value=3D"fal=
se"/>
-<mapEntry key=3D"org.eclipse.debug.ui/debug" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.jface.text/debug/FastPartitioner/PositionCach=
e" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.core.resources/save/mastertable" value=3D"fal=
se"/>
+<mapEntry key=3D"org.eclipse.debug.ui/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/trace/handlers.performance" value=3D"false=
"/>
 <mapEntry key=3D"org.eclipse.pde.core/debug" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.core.runtime/debug" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui/trace/handlers.verbose.commandId" value=3D=
""/>
-<mapEntry key=3D"org.eclipse.jdt.core/debug/buffermanager" value=3D"false"=
/>
 <mapEntry key=3D"org.eclipse.osgi/debug/filter" value=3D"false"/>
+<mapEntry key=3D"org.eclipse.jdt.core/debug/buffermanager" value=3D"false"=
/>
 <mapEntry key=3D"org.eclipse.osgi/resolver/grouping" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.jdt.ui/debug/ASTProvider" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.ui.ide/debug" value=3D"false"/>
-<mapEntry key=3D"org.eclipse.ui.intro/trace/logInfo" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.core.resources/restore/mastertable" value=3D"=
false"/>
+<mapEntry key=3D"org.eclipse.ui.intro/trace/logInfo" value=3D"true"/>
 <mapEntry key=3D"org.eclipse.ui/experimental/menus" value=3D"false"/>
 <mapEntry key=3D"org.eclipse.pde.core/classpath" value=3D"false"/>
 </mapAttribute>

Modified: archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu=
/uci/isr/archstudio4/comp/archipelago/generic/logics/editing/INode.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/INode.java (original)
+++ archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/INode.java Fri May  =
2 13:01:59 2008
@@ -8,4 +8,6 @@
 	INode getParent();
 	List<INode> getChildren();
 	void addChild(INode child);
+	void setSelected(boolean selected);
+	boolean isSelected();
 }

Modified: archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu=
/uci/isr/archstudio4/comp/archipelago/generic/logics/editing/XadlCopyPasteL=
ogic.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/XadlCopyPasteLogic.j=
ava (original)
+++ archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/XadlCopyPasteLogic.j=
ava Fri May  2 13:01:59 2008
@@ -12,7 +12,6 @@
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.action.IMenuManager;
 import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.swt.SWT;
 import org.eclipse.ui.ISharedImages;
 import org.eclipse.ui.PlatformUI;
 =

@@ -173,27 +172,11 @@
 			relatedElementToDuplicatedRelatedObjRefMap =3D new HashMap<IRelatedElem=
ent,ObjRef>();
 			for(ObjRef objRef: objRefs){
 				INode node =3D new ObjRefTreeNode(xarch,null,objRef);
+				node.setSelected(true);
 				CopiedContext copiedContext =3D new CopiedContext(objRef);
-				List<IRelatedElement> relatedElements =3D relatedElementsManager.getRe=
latedElements(xarch.getXArch(objRef), objRef);
-				ObjRef duplicateObjRef =3D duplicateAndScanElement(copiedXArchRef, obj=
Ref, copiedContext.isElement, false,copiedIdObjRefs, copiedLinkObjRefs,node=
);
+				ObjRef duplicateObjRef =3D duplicateAndScanElement(copiedXArchRef, obj=
Ref, copiedContext.isElement,copiedIdObjRefs, copiedLinkObjRefs,node);
 				clipboardObjRefs.add(duplicateObjRef);
 				copiedObjRefs.put(duplicateObjRef, copiedContext);
-				if(relatedElements !=3D null && relatedElements.size() > 0) {
-					for(IRelatedElement relatedElement : relatedElements) {
-						if(relatedElementsList.add(relatedElement)) {
-							RelatedElementTreeNode relatedElementTreeNode =3D new RelatedElemen=
tTreeNode(node,relatedElement);
-							node.addChild(relatedElementTreeNode);
-							relatedElementToNodeMap.put(relatedElement,relatedElementTreeNode);
-							ObjRef relatedObjRef =3D relatedElement.getRelatedObjRef();
-							CopiedContext newCopiedContext =3D new CopiedContext(relatedObjRef);
-							//List<IRelatedElement> newRelatedElements =3D relatedElementsManag=
er.getRelatedElements(xarch.getXArch(relatedObjRef), relatedObjRef);
-							ObjRef newDuplicateObjRef =3D duplicateAndScanElement(copiedXArchRe=
f, relatedObjRef, newCopiedContext.isElement, true,copiedIdObjRefs, copiedL=
inkObjRefs,relatedElementTreeNode);
-							relatedElementToDuplicatedRelatedObjRefMap.put(relatedElement,newDu=
plicateObjRef);
-							clipboardObjRefs.add(newDuplicateObjRef);
-							copiedRelatedElements.put(newDuplicateObjRef, newCopiedContext);
-						}
-					}
-				}
 				nodes.add(node);
 			}
 =

@@ -317,15 +300,36 @@
 		}
 	}
 =

-	private ObjRef duplicateAndScanElement(ObjRef clipboardXArchRef, ObjRef s=
ourceRef, boolean isElement, boolean isRelatedElement,Map<String, ObjRef> i=
dObjRefs, Map<String, Collection<ObjRef>> linkObjRefs,INode node){
+	private ObjRef duplicateAndScanElement(ObjRef clipboardXArchRef, ObjRef s=
ourceRef, boolean isElement,Map<String, ObjRef> idObjRefs, Map<String, Coll=
ection<ObjRef>> linkObjRefs,INode node){
 =

 		IXArchTypeMetadata type =3D xarch.getTypeMetadata(sourceRef);
 		ObjRef contextRef =3D xarch.createContext(clipboardXArchRef, XArchMetada=
taUtils.getTypeContext(type.getType()));
 		ObjRef copiedRef =3D isElement ? xarch.createElement(contextRef, XArchMe=
tadataUtils.getTypeName(type.getType())) : xarch.create(contextRef, XArchMe=
tadataUtils.getTypeName(type.getType()));
+		List<IRelatedElement> relatedElements =3D relatedElementsManager.getRela=
tedElements(xarch.getXArch(sourceRef), sourceRef);
+		if(relatedElements !=3D null && relatedElements.size() > 0) {
+			for(IRelatedElement relatedElement : relatedElements) {
+				if(relatedElementsList.add(relatedElement)) {
+					RelatedElementTreeNode relatedElementTreeNode =3D new RelatedElementT=
reeNode(node,relatedElement);
+					node.addChild(relatedElementTreeNode);
+					if(node.isSelected() && relatedElement.getRelatedElementsProcessor().=
isDefaultSelection()) {
+						relatedElementTreeNode.setSelected(true);
+					}
+					relatedElementToNodeMap.put(relatedElement,relatedElementTreeNode);
+					ObjRef relatedObjRef =3D relatedElement.getRelatedObjRef();
+					CopiedContext newCopiedContext =3D new CopiedContext(relatedObjRef);
+					//List<IRelatedElement> newRelatedElements =3D relatedElementsManager=
.getRelatedElements(xarch.getXArch(relatedObjRef), relatedObjRef);
+					ObjRef newDuplicateObjRef =3D duplicateAndScanElement(copiedXArchRef,=
 relatedObjRef, newCopiedContext.isElement,copiedIdObjRefs, copiedLinkObjRe=
fs,relatedElementTreeNode);
+					relatedElementToDuplicatedRelatedObjRefMap.put(relatedElement,newDupl=
icateObjRef);
+					clipboardObjRefs.add(newDuplicateObjRef);
+					copiedRelatedElements.put(newDuplicateObjRef, newCopiedContext);
+				}
+			}
+		}
+
 =

 		for(IXArchPropertyMetadata prop: type.getProperties()){
 			switch(prop.getMetadataType()){
-
+			=

 			case IXArchPropertyMetadata.ATTRIBUTE:
 				String value =3D (String)xarch.get(sourceRef, prop.getName());
 				if(value !=3D null){
@@ -348,34 +352,14 @@
 				ObjRef elementRef =3D (ObjRef)xarch.get(sourceRef, prop.getName());
 				if(elementRef !=3D null){
 					ObjRefTreeNode objRefTreeNode =3D null;
-					if(!isRelatedElement) {
-						if(node !=3D null && xarch.getTypeMetadata(elementRef).getProperty("=
Id") !=3D null) {						=

-							objRefTreeNode =3D new ObjRefTreeNode(xarch,node,elementRef);
-							node.addChild(objRefTreeNode);			=

-						}
+					if(node !=3D null && xarch.getTypeMetadata(elementRef).getProperty("I=
d") !=3D null) {						=

+						objRefTreeNode =3D new ObjRefTreeNode(xarch,node,elementRef);
+						objRefTreeNode.setSelected(node.isSelected());
+						node.addChild(objRefTreeNode);
+						=

 					}
-					ObjRef duplicatedElement =3D duplicateAndScanElement(clipboardXArchRe=
f, elementRef, false, !isRelatedElement,idObjRefs, linkObjRefs,objRefTreeNo=
de);
+					ObjRef duplicatedElement =3D duplicateAndScanElement(clipboardXArchRe=
f, elementRef, false,idObjRefs, linkObjRefs,objRefTreeNode);
 					clipboardObjRefs.add(duplicatedElement);
-					if(!isRelatedElement) {
-						List<IRelatedElement> relatedElements =3D relatedElementsManager.get=
RelatedElements(xarch.getXArch(elementRef), elementRef);
-						if(relatedElements !=3D null && relatedElements.size() > 0 && node !=
=3D null) {
-							for(IRelatedElement relatedElement : relatedElements) {
-								if(relatedElementsList.add(relatedElement)) {
-									ObjRef relatedObjRef =3D relatedElement.getRelatedObjRef();
-									CopiedContext newCopiedContext =3D new CopiedContext(relatedObjRe=
f);
-									INode relatedElementTreeNode =3D new RelatedElementTreeNode(objRe=
fTreeNode,relatedElement);
-									ObjRef newDuplicateObjRef =3D duplicateAndScanElement(copiedXArch=
Ref, relatedObjRef, newCopiedContext.isElement, true,copiedIdObjRefs, copie=
dLinkObjRefs,relatedElementTreeNode);
-									relatedElementToDuplicatedRelatedObjRefMap.put(relatedElement,new=
DuplicateObjRef);
-									clipboardObjRefs.add(newDuplicateObjRef);
-									copiedRelatedElements.put(newDuplicateObjRef, newCopiedContext);
-
-
-									relatedElementToNodeMap.put(relatedElement,relatedElementTreeNode=
);
-									objRefTreeNode.addChild(relatedElementTreeNode);
-								}
-							}
-						}
-					}
 					xarch.set(copiedRef, prop.getName(), duplicatedElement);
 				}
 				break;
@@ -383,30 +367,13 @@
 			case IXArchPropertyMetadata.ELEMENT_MANY:
 				for(ObjRef elementManyRef: xarch.getAll(sourceRef, prop.getName())){
 					ObjRefTreeNode objRefTreeNode =3D null;
-					if(!isRelatedElement) {
-						if(node !=3D null && xarch.getTypeMetadata(elementManyRef).getProper=
ty("Id") !=3D null) {						=

-							objRefTreeNode =3D new ObjRefTreeNode(xarch,node,elementManyRef);
-							node.addChild(objRefTreeNode);			=

-						}
+					if(node !=3D null && xarch.getTypeMetadata(elementManyRef).getPropert=
y("Id") !=3D null) {
+						objRefTreeNode =3D new ObjRefTreeNode(xarch,node,elementManyRef);
+						objRefTreeNode.setSelected(node.isSelected());
+						node.addChild(objRefTreeNode);			=

 					}
-					ObjRef duplicatedElement =3D duplicateAndScanElement(clipboardXArchRe=
f, elementManyRef, false, isRelatedElement,idObjRefs, linkObjRefs,node);
+					ObjRef duplicatedElement =3D duplicateAndScanElement(clipboardXArchRe=
f, elementManyRef, false,idObjRefs, linkObjRefs,objRefTreeNode);
 					clipboardObjRefs.add(duplicatedElement);
-					if(!isRelatedElement) {
-						List<IRelatedElement> relatedElements =3D relatedElementsManager.get=
RelatedElements(xarch.getXArch(duplicatedElement),elementManyRef);
-						if(relatedElements !=3D null && relatedElements.size() > 0 && node !=
=3D null) {
-							for(IRelatedElement relatedElement : relatedElements) {
-								ObjRef relatedObjRef =3D relatedElement.getRelatedObjRef();
-								CopiedContext newCopiedContext =3D new CopiedContext(relatedObjRef=
);
-								INode relatedElementTreeNode =3D new RelatedElementTreeNode(objRef=
TreeNode,relatedElement);
-								ObjRef newDuplicateObjRef =3D duplicateAndScanElement(copiedXArchR=
ef, relatedObjRef, newCopiedContext.isElement, true,copiedIdObjRefs, copied=
LinkObjRefs,relatedElementTreeNode);
-								relatedElementToDuplicatedRelatedObjRefMap.put(relatedElement,newD=
uplicateObjRef);
-								clipboardObjRefs.add(newDuplicateObjRef);
-								copiedRelatedElements.put(newDuplicateObjRef, newCopiedContext);
-								relatedElementToNodeMap.put(relatedElement,relatedElementTreeNode);
-								objRefTreeNode.addChild(relatedElementTreeNode);
-							}						=

-						}					=

-					}
 					xarch.add(copiedRef, prop.getName(),duplicatedElement);
 				}
 				break;

Modified: archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu=
/uci/isr/archstudio4/comp/archipelago/generic/logics/editing/dialogs/Option=
sDialog.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/dialogs/OptionsDialo=
g.java (original)
+++ archstudio4/branches/enhancements/edu.uci.isr.archstudio4/src/edu/uci/i=
sr/archstudio4/comp/archipelago/generic/logics/editing/dialogs/OptionsDialo=
g.java Fri May  2 13:01:59 2008
@@ -108,13 +108,13 @@
 	public void setCheckedForRequiredNodes(List<INode> nodes) {
 		if(nodes !=3D null && nodes.size() > 0) {
 			for(INode node : nodes) {
-				if(node instanceof ObjRefTreeNode) {
-					optionsTreeViewer.setChecked(node, true);
-				}
+				optionsTreeViewer.setChecked(node, node.isSelected());
+				optionsTreeViewer.setGrayChecked(node, true);
 				setCheckedForRequiredNodes(node.getChildren());
 			}
 		}
-	}	=

+	}
+	=

 	public void checkStateChanged(CheckStateChangedEvent event) {
 		Object element =3D event.getElement();
 		if(element instanceof ObjRefTreeNode) {




More information about the archstudio-commits mailing list