Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2016-10-20 01:52:01 -0400
committerGerrit Code Review @ Eclipse.org2016-10-28 10:13:11 -0400
commitd074f58115cca11630b8534836fbef3fc9a8d972 (patch)
tree63b0b20b832b94f928145456b106eb12c57fde9b /plugins
parentcea85ce4eb2f9434867a1f28c8038a2df3079be6 (diff)
downloadorg.eclipse.papyrus-d074f58115cca11630b8534836fbef3fc9a8d972.tar.gz
org.eclipse.papyrus-d074f58115cca11630b8534836fbef3fc9a8d972.tar.xz
org.eclipse.papyrus-d074f58115cca11630b8534836fbef3fc9a8d972.zip
[Bug 500730] [Table]: double popumenu on linux for SysML 1.4
- Remove natTable.setMenu(). Avoid that SWT opens the context menu instead of NatTable controling it. (see also https://www.eclipse.org/forums/index.php/t/805765/)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/menu/PapyrusBodyPopupMenuAction.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/menu/PapyrusBodyPopupMenuAction.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/menu/PapyrusBodyPopupMenuAction.java
index 22cde00c459..c276113bcb8 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/menu/PapyrusBodyPopupMenuAction.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/menu/PapyrusBodyPopupMenuAction.java
@@ -34,7 +34,6 @@ public class PapyrusBodyPopupMenuAction extends AbstractPapyrusPopupMenuAction {
*/
public PapyrusBodyPopupMenuAction(final String menuId, final NatTable nattable) {
super(menuId, nattable);
- this.natTable.setMenu(menu);
}
@@ -47,7 +46,6 @@ public class PapyrusBodyPopupMenuAction extends AbstractPapyrusPopupMenuAction {
protected void addMenuSeparators(IMenuManager menuManager) {
super.addMenuSeparators(menuManager);
-
Separator separator = new Separator(MenuConstants.CELL_SEPARATOR_ID);
separator.setVisible(true);
menuManager.add(separator);
@@ -69,5 +67,4 @@ public class PapyrusBodyPopupMenuAction extends AbstractPapyrusPopupMenuAction {
// separator.setVisible(true);
// menuManager.add(separator);
}
-
}

Back to the top