Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2006-05-17 04:24:30 -0400
committerdstadnik2006-05-17 04:24:30 -0400
commitf7dca8856c0a873871286b01277fb5f78268da8b (patch)
treea26fe0fb78e190ec1069ebd5f630b814c2831042 /devtools
parent0fe55c0c381233754835497d5abaff1e51cd7c3b (diff)
downloadorg.eclipse.gmf-tooling-f7dca8856c0a873871286b01277fb5f78268da8b.tar.gz
org.eclipse.gmf-tooling-f7dca8856c0a873871286b01277fb5f78268da8b.tar.xz
org.eclipse.gmf-tooling-f7dca8856c0a873871286b01277fb5f78268da8b.zip
trace composite commands correctly
Diffstat (limited to 'devtools')
-rw-r--r--devtools/org.eclipse.gmf.dev.runtime/src/org/eclipse/gmf/dev/runtime/ExtEditPartTraceContributor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/org.eclipse.gmf.dev.runtime/src/org/eclipse/gmf/dev/runtime/ExtEditPartTraceContributor.java b/devtools/org.eclipse.gmf.dev.runtime/src/org/eclipse/gmf/dev/runtime/ExtEditPartTraceContributor.java
index a5974c9b6..d0c8ce5e7 100644
--- a/devtools/org.eclipse.gmf.dev.runtime/src/org/eclipse/gmf/dev/runtime/ExtEditPartTraceContributor.java
+++ b/devtools/org.eclipse.gmf.dev.runtime/src/org/eclipse/gmf/dev/runtime/ExtEditPartTraceContributor.java
@@ -26,8 +26,8 @@ import org.eclipse.gmf.dev.DevUtils;
import org.eclipse.gmf.dev.EditPartTraceConstructor;
import org.eclipse.gmf.dev.EditPartTraceContributor;
import org.eclipse.gmf.dev.EditPartTraceRecord;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
import org.eclipse.gmf.runtime.common.core.command.ICommand;
+import org.eclipse.gmf.runtime.common.core.command.ICompositeCommand;
import org.eclipse.gmf.runtime.diagram.ui.commands.CommandProxy;
import org.eclipse.gmf.runtime.diagram.ui.commands.EtoolsProxyCommand;
import org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCommand;
@@ -98,8 +98,8 @@ public class ExtEditPartTraceContributor implements EditPartTraceContributor {
if (source != null) {
kids.add(new EditPartTraceRecord("from " + DevUtils.getFullClassName(source)));
}
- if (command instanceof CompositeCommand) {
- Iterator subCommands = ((CompositeCommand) command).iterator();
+ if (command instanceof ICompositeCommand) {
+ Iterator subCommands = ((ICompositeCommand) command).iterator();
while (subCommands.hasNext()) {
kids.add(createCommandNode((ICommand) subCommands.next(), event));
}

Back to the top