use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class AbstractTraceWidget method fillContextMenu.
/**
* Fill context menu
*
* @param manager Menu manager
*/
protected void fillContextMenu(final IMenuManager manager) {
manager.add(actionCopy);
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 LastValuesWidget method fillContextMenu.
/**
* Fill context menu
* @param mgr Menu manager
*/
protected void fillContextMenu(IMenuManager manager) {
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(new Separator());
manager.add(actionExportToCsv);
manager.add(new Separator());
manager.add(new GroupMarker(GroupMarkers.MB_SECONDARY));
manager.add(new Separator());
manager.add(actionUseMultipliers);
manager.add(actionShowErrors);
manager.add(actionShowDisabled);
manager.add(actionShowUnsupported);
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class SummaryTableWidget method fillContextMenu.
/**
* Fill context menu
* @param mgr Menu manager
*/
protected void fillContextMenu(IMenuManager manager, MenuManager nodeMenuManager) {
manager.add(actionUseMultipliers);
manager.add(new Separator());
manager.add(nodeMenuManager);
manager.add(new GroupMarker(GroupMarkers.MB_OBJECT_TOOLS));
manager.add(new Separator());
manager.add(actionShowObjectDetails);
manager.add(new Separator());
if (// $NON-NLS-1$
(currentColumn != null) && ((Integer) currentColumn.getData("ID") > 0)) {
manager.add(new Action(String.format(Messages.get().SummaryTableWidget_ForcePollForNode, currentColumn.getText())) {
@Override
public void run() {
forcePoll(false);
}
});
}
manager.add(actionForcePollAll);
manager.add(actionExportToCsv);
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class DataCollectionEditor method fillContextMenu.
/**
* Fill context menu
*
* @param mgr Menu manager
*/
protected void fillContextMenu(final IMenuManager manager) {
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(actionExportToCsv);
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));
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class ApplicationActionBarAdvisor method fillCoolBar.
/* (non-Javadoc)
* @see org.eclipse.ui.application.ActionBarAdvisor#fillCoolBar(org.eclipse.jface.action.ICoolBarManager)
*/
@Override
protected void fillCoolBar(ICoolBarManager coolBar) {
IToolBarManager toolbar = new ToolBarManager(SWT.FLAT | SWT.TRAIL);
toolbar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
// $NON-NLS-1$
coolBar.add(new ToolBarContributionItem(toolbar, "product"));
toolbar = new ToolBarManager(SWT.FLAT | SWT.TRAIL);
toolbar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
// $NON-NLS-1$
coolBar.add(new ToolBarContributionItem(toolbar, "view"));
toolbar = new ToolBarManager(SWT.FLAT | SWT.TRAIL);
toolbar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
// $NON-NLS-1$
coolBar.add(new ToolBarContributionItem(toolbar, "logs"));
toolbar = new ToolBarManager(SWT.FLAT | SWT.TRAIL);
toolbar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
// $NON-NLS-1$
coolBar.add(new ToolBarContributionItem(toolbar, "tools"));
toolbar = new ToolBarManager(SWT.FLAT | SWT.TRAIL);
toolbar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
// $NON-NLS-1$
coolBar.add(new ToolBarContributionItem(toolbar, "config"));
if (// $NON-NLS-1$
Activator.getDefault().getPreferenceStore().getBoolean("SHOW_SERVER_CLOCK")) {
coolBar.add(new ServerClockContributionItem());
}
// $NON-NLS-1$
ConsoleSharedData.setProperty("CoolBarManager", coolBar);
}
Aggregations