use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class EventObjectList method fillContextMenu.
/**
* Fill context menu
*
* @param mgr Menu manager
*/
protected void fillContextMenu(final IMenuManager mgr) {
mgr.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
mgr.add(actionNew);
mgr.add(actionDelete);
mgr.add(actionNewGroup);
mgr.add(actionRemove);
mgr.add(new Separator());
mgr.add(actionShowGroups);
mgr.add(actionEdit);
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class AbstractNetworkMapView method fillMapContextMenu.
/**
* Fill context menu for map view
*
* @param manager Menu manager
*/
protected void fillMapContextMenu(IMenuManager manager) {
MenuManager zoom = new MenuManager(Messages.get().AbstractNetworkMapView_Zoom);
for (int i = 0; i < actionZoomTo.length; i++) zoom.add(actionZoomTo[i]);
MenuManager figureType = new MenuManager(Messages.get().AbstractNetworkMapView_DisplayObjectAs);
figureType.add(actionFiguresIcons);
figureType.add(actionFiguresSmallLabels);
figureType.add(actionFiguresLargeLabels);
figureType.add(actionFiguresStatusIcons);
figureType.add(actionFiguresFloorPlan);
manager.add(actionShowStatusBackground);
manager.add(actionShowStatusIcon);
manager.add(actionShowStatusFrame);
manager.add(actionShowLinkDirection);
manager.add(new Separator());
manager.add(createLayoutSubmenu());
manager.add(createRoutingSubmenu());
manager.add(figureType);
manager.add(new Separator());
manager.add(actionZoomIn);
manager.add(actionZoomOut);
manager.add(actionZoomFit);
manager.add(zoom);
manager.add(new Separator());
manager.add(actionAlignToGrid);
manager.add(actionSnapToGrid);
manager.add(actionShowGrid);
manager.add(new Separator());
manager.add(actionHideLinkLabels);
manager.add(actionHideLinks);
manager.add(new Separator());
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(new Separator());
manager.add(actionSelectAllObjects);
manager.add(new Separator());
manager.add(actionRefresh);
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class ObjectBrowser method createToolBar.
/**
* Create view toolbar
*/
private void createToolBar() {
IToolBarManager manager = getViewSite().getActionBars().getToolBarManager();
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(actionRefresh);
}
use of org.eclipse.jface.action.GroupMarker in project netxms by netxms.
the class HistoricalDataView method fillContextMenu.
/**
* Fill context menu
* @param manager
*/
private void fillContextMenu(IMenuManager manager) {
manager.add(actionDeleteDciEntry);
manager.add(actionSelectRange);
manager.add(actionExportToCsv);
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 PredefinedGraphTree method fillLocalPullDown.
/**
* Fill local pull-down menu
*
* @param manager
* Menu manager for pull-down menu
*/
private void fillLocalPullDown(IMenuManager manager) {
manager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(new Separator());
manager.add(actionShowFilter);
manager.add(new Separator());
manager.add(actionRefresh);
}
Aggregations