use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class DataCollectionEditor method fillLocalPullDown.
/**
* Fill local pull-down menu
*
* @param manager
* Menu manager for pull-down menu
*/
private void fillLocalPullDown(IMenuManager manager) {
manager.add(actionShowFilter);
manager.add(new Separator());
manager.add(actionCreateItem);
manager.add(actionCreateTable);
manager.add(actionEdit);
manager.add(actionDelete);
manager.add(actionCopy);
manager.add(actionMove);
manager.add(actionConvert);
manager.add(actionDuplicate);
manager.add(new Separator());
manager.add(actionActivate);
manager.add(actionDisable);
manager.add(new Separator());
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(new Separator());
manager.add(new GroupMarker(GroupMarkers.MB_SECONDARY));
manager.add(new Separator());
manager.add(actionRefresh);
manager.add(actionExportAllToCsv);
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class TemplateGraphView method fillContextMenu.
/**
* Fill context menu
* @param manager
*/
private void fillContextMenu(IMenuManager manager) {
manager.add(actionAdd);
manager.add(actionEdit);
manager.add(actionDelete);
manager.add(new Separator());
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class BaseTableValueViewer method fillContextMenu.
/**
* Fill context menu
*
* @param manager
*/
protected void fillContextMenu(IMenuManager manager) {
manager.add(actionUseMultipliers);
manager.add(actionShowFilter);
manager.add(new Separator());
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class MibExplorer method fillTreeContextMenu.
/**
* Fill MIB tree context menu
*
* @param mgr Menu manager
*/
protected void fillTreeContextMenu(final IMenuManager manager) {
manager.add(actionWalk);
manager.add(new Separator());
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(new Separator());
manager.add(actionRefresh);
}
use of org.eclipse.jface.action.GroupMarker in project tdq-studio-se by Talend.
the class ApplicationActionBarAdvisor method fillMenuBar.
@Override
protected void fillMenuBar(IMenuManager menuBar) {
this.beforefillMenuBar();
MenuManager fileMenu = new MenuManager(Messages.getString("ApplicationActionBarAdvisor.File"), // $NON-NLS-1$
IWorkbenchActionConstants.M_FILE);
MenuManager windowMenu = new MenuManager(Messages.getString("ApplicationActionBarAdvisor.Window"), // $NON-NLS-1$
IWorkbenchActionConstants.M_WINDOW);
MenuManager helpMenu = new MenuManager(Messages.getString("ApplicationActionBarAdvisor.Help"), // $NON-NLS-1$
IWorkbenchActionConstants.M_HELP);
menuBar.add(fileMenu);
menuBar.add(windowMenu);
// Add a group marker indicating where action set menus will appear.
menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
menuBar.add(helpMenu);
fileMenu.add(colseAction);
fileMenu.add(colseAllAction);
fileMenu.add(new Separator());
// File
fileMenu.add(saveAction);
fileMenu.add(saveAllAction);
fileMenu.add(exitAction);
// Window
MenuManager perspMenu = new PerspectiveMenuManager();
menuBar.add(windowMenu);
windowMenu.add(perspMenu);
windowMenu.add(preferenceAction);
windowMenu.add(resetPerspectiveAction);
windowMenu.add(new ShowViewAction());
windowMenu.add(savePerspectiveAsAction);
// Help
helpMenu.add(welcomeAction);
helpMenu.add(helpAction);
helpMenu.add(aboutAction);
// ADD qiongli 2010-6-3,bug 0012874
CheatSheetCategoryBasedSelectionAction cscAction = new CheatSheetCategoryBasedSelectionAction();
// $NON-NLS-1$
cscAction.setText(Messages.getString("ApplicationActionBarAdvisor.CheatSheets"));
helpMenu.add(cscAction);
}
Aggregations