* @generated
*/
protected void fillMenuBar(IMenuManager menu) {
{
IMenuManager menuX = new MenuManager(
OntoUML.diagram.part.Messages.ApplicationMenuName_File,
IWorkbenchActionConstants.M_FILE);
menuX.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));
{
IMenuManager menuXX = new MenuManager(
OntoUML.diagram.part.Messages.ApplicationMenuName_New,
"new");
menuXX.add(new GroupMarker(
IWorkbenchActionConstants.MB_ADDITIONS));
menuX.add(menuXX);
}
menuX.add(new Separator());
menuX.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
menuX.add(new Separator());
menuX.add(getAction(ActionFactory.CLOSE.getId()));
menuX.add(getAction(ActionFactory.CLOSE_ALL.getId()));
menuX.add(new Separator());
menuX.add(getAction(ActionFactory.SAVE.getId()));
menuX.add(getAction(ActionFactory.SAVE_AS.getId()));
menuX.add(getAction(ActionFactory.SAVE_ALL.getId()));
menuX.add(new Separator());
menuX.add(getAction(ActionFactory.QUIT.getId()));
menuX.add(new GroupMarker(IWorkbenchActionConstants.FILE_END));
menu.add(menuX);
}
{
IMenuManager menuX = new MenuManager(
OntoUML.diagram.part.Messages.ApplicationMenuName_Edit,
IWorkbenchActionConstants.M_EDIT);
menuX.add(new GroupMarker(IWorkbenchActionConstants.EDIT_START));
menuX.add(getAction(ActionFactory.UNDO.getId()));
menuX.add(getAction(ActionFactory.REDO.getId()));
menuX.add(new GroupMarker(IWorkbenchActionConstants.UNDO_EXT));
menuX.add(new Separator());
menuX.add(getAction(ActionFactory.CUT.getId()));
menuX.add(getAction(ActionFactory.COPY.getId()));
menuX.add(getAction(ActionFactory.PASTE.getId()));
menuX.add(new GroupMarker(IWorkbenchActionConstants.CUT_EXT));
menuX.add(new Separator());
menuX.add(getAction(ActionFactory.DELETE.getId()));
menuX.add(getAction(ActionFactory.SELECT_ALL.getId()));
menuX.add(new Separator());
menuX.add(new GroupMarker(IWorkbenchActionConstants.ADD_EXT));
menuX.add(new GroupMarker(IWorkbenchActionConstants.EDIT_END));
menuX.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
menu.add(menuX);
}
menu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
{
IMenuManager menuX = new MenuManager(
OntoUML.diagram.part.Messages.ApplicationMenuName_Window,
IWorkbenchActionConstants.M_WINDOW);
menuX.add(getAction(ActionFactory.OPEN_NEW_WINDOW.getId()));
menuX.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
menu.add(menuX);
}
{
IMenuManager menuX = new MenuManager(
OntoUML.diagram.part.Messages.ApplicationMenuName_Help,
IWorkbenchActionConstants.M_HELP);
menuX.add(new GroupMarker(IWorkbenchActionConstants.HELP_START));
menuX.add(new GroupMarker(IWorkbenchActionConstants.HELP_END));
menuX.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
menu.add(menuX);
}
}