Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2013-05-23 09:43:25 +0000
committervlorenzo2013-05-23 09:43:25 +0000
commit6b85be6368b97c9316051068fd0bd7078733ff5e (patch)
treebb024f389258a266091e69d7a918f537c3035dfe /sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java
parent1e353a3e3b9c04d596a841dfc069ace405092c08 (diff)
downloadorg.eclipse.papyrus-6b85be6368b97c9316051068fd0bd7078733ff5e.tar.gz
org.eclipse.papyrus-6b85be6368b97c9316051068fd0bd7078733ff5e.tar.xz
org.eclipse.papyrus-6b85be6368b97c9316051068fd0bd7078733ff5e.zip
408585: [Table 2] Multiline visualization and Edition
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408585
Diffstat (limited to 'sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java')
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java b/sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java
index 13115404da7..412372eb5c6 100644
--- a/sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java
+++ b/sandbox/TableV3/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/handler/RowDestroyAxisElementHandler.java
@@ -39,7 +39,7 @@ public class RowDestroyAxisElementHandler extends AbstractTableHandler {
public Object execute(ExecutionEvent event) throws ExecutionException {
final IAxisManager axisManager = getRowAxisManager();
if(axisManager != null) {
- axisManager.destroyAxisElement(getFullSelectedRows(this.eventData));
+ axisManager.destroyAxisElement(getFullSelectedRowsIndex(this.eventData));
}
return null;
}
@@ -55,7 +55,7 @@ public class RowDestroyAxisElementHandler extends AbstractTableHandler {
final IAxisManager axisManager = getRowAxisManager();
if(axisManager != null) {
this.eventData = getNatEventData(evaluationContext);
- final List<Integer> col = getFullSelectedRows(this.eventData);
+ final List<Integer> col = getFullSelectedRowsIndex(this.eventData);
setBaseEnabled(axisManager.canDestroyAxisElement(col));
} else {
setBaseEnabled(false);

Back to the top