Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2016-06-23 14:55:54 +0000
committerGerrit Code Review @ Eclipse.org2016-07-07 15:18:58 +0000
commita0fcd7a06af5e6ad5e824cc5ebbc50de955c279e (patch)
tree37e9fbb79f4c9c83105111717a6fcd00b27b269e /plugins/infra/nattable
parent93e047cee43e956fe5431bed20258ffc53534e49 (diff)
downloadorg.eclipse.papyrus-a0fcd7a06af5e6ad5e824cc5ebbc50de955c279e.tar.gz
org.eclipse.papyrus-a0fcd7a06af5e6ad5e824cc5ebbc50de955c279e.tar.xz
org.eclipse.papyrus-a0fcd7a06af5e6ad5e824cc5ebbc50de955c279e.zip
Bug 492086: [Table] Destroy column after undo does nothing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=492086 - The remove command wrapper is always used by the destroy axis command. - Modify the Stereotype property destroy axis management - Add the JUnit tests Change-Id: I64403ead51ce0663b266f079a9f146fc92155ab7 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
Diffstat (limited to 'plugins/infra/nattable')
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/axis/AbstractAxisManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/axis/AbstractAxisManager.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/axis/AbstractAxisManager.java
index 9b547a38037..095039a791a 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/axis/AbstractAxisManager.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/axis/AbstractAxisManager.java
@@ -643,7 +643,7 @@ public abstract class AbstractAxisManager implements IAxisManager {
objectsToRemove.add(objectToDestroy);
}
}
- final Command cmd = new RemoveCommandWrapper(getDestroyAxisCommand(domain, toDestroy), objectsToRemove);
+ final Command cmd = getDestroyAxisCommand(domain, objectsToRemove);
domain.getCommandStack().execute(cmd);
}

Back to the top