Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2016-10-20 05:52:01 +0000
committervincent lorenzo2016-11-04 08:45:51 +0000
commit4afc87b029618d593ceff1e51021516b0f1cf665 (patch)
tree43acbea47721dcfe3b44bd161a4bdfd34b07d1d9
parent0e1acd2badd2a339bb13b60b1442a03fd196bc60 (diff)
downloadorg.eclipse.papyrus-4afc87b029618d593ceff1e51021516b0f1cf665.tar.gz
org.eclipse.papyrus-4afc87b029618d593ceff1e51021516b0f1cf665.tar.xz
org.eclipse.papyrus-4afc87b029618d593ceff1e51021516b0f1cf665.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/) (cherry picked from commit d074f58115cca11630b8534836fbef3fc9a8d972) Change-Id: I54def5a530d73671edc7c6f1ea5167a0df5e2327
-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