use of org.jkiss.dbeaver.ext.erd.action.DiagramLayoutAction in project dbeaver by serge-rider.
the class ERDEditorContextMenuProvider method buildContextMenu.
/**
* @see ContextMenuProvider#buildContextMenu(org.eclipse.jface.action.IMenuManager)
*/
@Override
public void buildContextMenu(IMenuManager menu) {
if (editor.isLoaded()) {
GEFActionConstants.addStandardActionGroups(menu);
menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
menu.add(new Separator());
editor.fillAttributeVisibilityMenu(menu);
menu.add(new DiagramLayoutAction(editor));
}
}
Aggregations