summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormgolubev2014-06-03 18:13:45 (EDT)
committerCamille Letavernier2014-06-05 05:31:43 (EDT)
commitf5b3b840d6ddb7181b2a5ae6ba9a93b72595edbb (patch)
tree25ad5e45a19d61609b44ae94813066462ff0ed28
parente2bff4b3c13cdcb593cc5c6020c1285a23156c7e (diff)
downloadorg.eclipse.papyrus-f5b3b840d6ddb7181b2a5ae6ba9a93b72595edbb.zip
org.eclipse.papyrus-f5b3b840d6ddb7181b2a5ae6ba9a93b72595edbb.tar.gz
org.eclipse.papyrus-f5b3b840d6ddb7181b2a5ae6ba9a93b72595edbb.tar.bz2
[375717] [375718] : Pins deleted in ModelExplorer are not completelyrefs/changes/88/27888/2
deleted graphically Change-Id: Ibdf3bb1cb4230f90e87bb8c3079bea026c4d6766 Signed-off-by: mgolubev <golubev@montages.com>
-rw-r--r--plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/helper/PinEditHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/helper/PinEditHelper.java b/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/helper/PinEditHelper.java
index bc8bb9a..f4763a5 100644
--- a/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/helper/PinEditHelper.java
+++ b/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/helper/PinEditHelper.java
@@ -34,8 +34,8 @@ import org.eclipse.uml2.uml.Pin;
public class PinEditHelper extends ElementEditHelper{
@Override
- protected ICommand getDestroyElementCommand(DestroyElementRequest req) {
- ICommand cmd = getBasicDestroyElementCommand(req);
+ protected ICommand getBasicDestroyElementCommand(DestroyElementRequest req) {
+ ICommand cmd = super.getBasicDestroyElementCommand(req);
CompositeTransactionalCommand cc = new CompositeTransactionalCommand(req.getEditingDomain(), "Destroy Pin Command");////$NON-NLS-1$
if ( cmd != null && cmd.canExecute()){
cc.compose(cmd);