Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed 'Compare with' and 'Repalce with' menu items from jcp popup menu
solves bug 3275
  • Loading branch information
goglepox committed Sep 6, 2012
1 parent 0be211c commit 0f1ba0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/net.bioclipse.cdk.jchempaint/plugin.xml
Expand Up @@ -714,7 +714,7 @@
</toolbar>
</menuContribution>
<menuContribution
locationURI="popup:net.bioclipse.cdk.ui.editors.jchempaint?after=edits">
locationURI="popup:net.bioclipse.cdk.ui.editors.jchempaint">
<menu
label="Change Element">
<menu
Expand Down
Expand Up @@ -437,8 +437,7 @@ public void updateMenu(RendererModel model) {
private void createMenu() {

MenuManager menuMgr = new MenuManager( contextMenuId, contextMenuId );
menuMgr.add( new GroupMarker( "edits" ) );
menuMgr.add( new GroupMarker( IWorkbenchActionConstants.MB_ADDITIONS ) );
menuMgr.setRemoveAllWhenShown(true);
getSite().registerContextMenu( contextMenuId, menuMgr, widget );

menu = menuMgr.createContextMenu( widget );
Expand Down

0 comments on commit 0f1ba0c

Please sign in to comment.