Esempio n. 1
0
 private void fillContextMenu(IMenuManager manager) {
   manager.add(action1);
   manager.add(action2);
   manager.add(new Separator());
   drillDownAdapter.addNavigationActions(manager);
   // Other plug-ins can contribute there actions here
   manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
 }
Esempio n. 2
0
 private void fillLocalPullDown(IMenuManager manager) {
   manager.add(action1);
   manager.add(new Separator());
   manager.add(action2);
 }