use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class ServerJobManager method fillContextMenu.
/**
* Fill context menu
* @param manager Menu manager
*/
protected void fillContextMenu(IMenuManager manager) {
manager.add(actionRestartJob);
manager.add(actionCancelJob);
manager.add(new Separator());
manager.add(actionHoldJob);
manager.add(actionUnholdJob);
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 Dot1xStatusView method fillContextMenu.
/**
* Fill context menu
* @param mgr Menu manager
*/
protected void fillContextMenu(IMenuManager manager) {
manager.add(actionExportToCsv);
manager.add(new Separator());
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
}
use of org.eclipse.jface.action.GroupMarker in project mdw-designer by CenturyLinkCloud.
the class MdwActionBarAdvisor method fillMenuBar.
protected void fillMenuBar(IMenuManager menuBar) {
MenuManager fileMenu = new MenuManager("&File", IWorkbenchActionConstants.M_FILE);
menuBar.add(fileMenu);
fileMenu.add(newAction);
fileMenu.add(new Separator());
fileMenu.add(closeAction);
fileMenu.add(closeAllAction);
fileMenu.add(new Separator());
fileMenu.add(saveAction);
fileMenu.add(saveAllAction);
fileMenu.add(new Separator());
fileMenu.add(importAction);
fileMenu.add(exportAction);
fileMenu.add(new Separator());
fileMenu.add(exitAction);
MenuManager editMenu = new MenuManager("&Edit", IWorkbenchActionConstants.M_EDIT);
menuBar.add(editMenu);
editMenu.add(copyAction);
editMenu.add(pasteAction);
editMenu.add(new Separator());
editMenu.add(deleteAction);
editMenu.add(new GroupMarker(IWorkbenchActionConstants.FIND_EXT));
editMenu.add(new GroupMarker(ActionFactory.SELECT_ALL.getId()));
menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
MenuManager windowMenu = new MenuManager("&Window", IWorkbenchActionConstants.M_WINDOW);
menuBar.add(windowMenu);
MenuManager showViewMenu = new MenuManager("Show View", "mdw.rcp.show.view");
showViewMenu.add(viewShortcutsContribItem);
windowMenu.add(showViewMenu);
windowMenu.add(resetPerspectiveAction);
windowMenu.add(new Separator());
windowMenu.add(preferencesAction);
MenuManager helpMenu = new MenuManager("&Help", IWorkbenchActionConstants.M_HELP);
menuBar.add(helpMenu);
helpMenu.add(helpContentsAction);
helpMenu.add(new Separator());
helpMenu.add(aboutAction);
}
use of org.eclipse.jface.action.GroupMarker in project mdw-designer by CenturyLinkCloud.
the class ProcessEditorActionBarContributor method init.
public void init(IActionBars bars, IWorkbenchPage page) {
lockAction = createLockAction();
runAction = createRunAction();
debugAction = createDebugAction();
instancesAction = createInstancesAction();
linkTypeMenuCreator = new LinkTypeMenuCreator();
linkTypeAction = createLinkTypeAction();
iconShapeMenuCreator = new IconShapeMenuCreator();
iconShapeAction = createIconShapeAction();
processDefinitionAction = createProcessDefinitionAction();
zoomLevelMenuCreator = new ZoomLevelMenuCreator();
zoomLevelAction = createZoomLevelAction();
exportAsAction = createExportAsAction();
refreshAction = createRefreshAction();
displayPrefsMenuCreator = new DisplayPrefsMenuCreator();
displayPrefsAction = createDisplayPrefsAction();
recordChangesAction = createRecordChangesAction();
commitChangesAction = createCommitChangesAction();
IToolBarManager toolbar = bars.getToolBarManager();
toolbar.add(new GroupMarker("mdw.process.instance.group"));
toolbar.add(lockAction);
toolbar.add(runAction);
toolbar.add(debugAction);
toolbar.add(instancesAction);
toolbar.add(linkTypeAction);
toolbar.add(iconShapeAction);
toolbar.add(processDefinitionAction);
toolbar.add(zoomLevelAction);
toolbar.add(displayPrefsAction);
toolbar.add(exportAsAction);
toolbar.add(refreshAction);
toolbar.add(recordChangesAction);
toolbar.add(commitChangesAction);
}
use of org.eclipse.jface.action.GroupMarker in project mdw-designer by CenturyLinkCloud.
the class ProcessExplorerActionGroup method fillActionBars.
@Override
public void fillActionBars(IActionBars actionBars) {
super.fillActionBars(actionBars);
IToolBarManager toolbar = actionBars.getToolBarManager();
toolbar.add(new GroupMarker("mdw.process.explorer.group"));
toolbar.add(collapseAllAction);
toolbar.add(sortToolbarAction);
toolbar.add(filterToolbarAction);
toolbar.add(refreshToolbarAction);
toolbar.add(new Separator());
toolbar.add(newPackageToolbarAction);
}
Aggregations