Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2007-04-18 15:23:06 -0400
committerashatalin2007-04-18 15:23:06 -0400
commitc28a371e918321a7d1e83cbb29592e7ed095c93d (patch)
tree1bd4c4f8a46bd423aabf139e0d567edeb9e08dd2
parenta5511c739ab4c3a86792d39032f8c7e5cc79fba8 (diff)
downloadorg.eclipse.gmf-tooling-c28a371e918321a7d1e83cbb29592e7ed095c93d.tar.gz
org.eclipse.gmf-tooling-c28a371e918321a7d1e83cbb29592e7ed095c93d.tar.xz
org.eclipse.gmf-tooling-c28a371e918321a7d1e83cbb29592e7ed095c93d.zip
Updating with new templates
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java
index 76a70c5d0..0222693f5 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java
@@ -65,7 +65,7 @@ public class EAnnotationReferencesCreateCommand extends EditElementCommand {
if (getTarget() != null) {
getSource().getReferences().add(getTarget());
}
- return CommandResult.newOKCommandResult(getSource());
+ return CommandResult.newOKCommandResult();
}
/**
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java
index fd0fc30b1..6a21ec591 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java
@@ -65,7 +65,7 @@ public class EClassESuperTypesCreateCommand extends EditElementCommand {
if (getTarget() != null) {
getSource().getESuperTypes().add(getTarget());
}
- return CommandResult.newOKCommandResult(getSource());
+ return CommandResult.newOKCommandResult();
}
/**

Back to the top