use of org.activiti.explorer.ui.process.ProcessMenuBar in project Activiti by Activiti.
the class EditorProcessDefinitionPage method createMenuBar.
@Override
protected ToolBar createMenuBar() {
ProcessMenuBar menuBar = new ProcessMenuBar();
Button newModelButton = new Button(ExplorerApp.get().getI18nManager().getMessage(Messages.PROCESS_NEW));
newModelButton.addListener(new NewModelClickListener());
menuBar.addButton(newModelButton);
Button importModelButton = new Button(ExplorerApp.get().getI18nManager().getMessage(Messages.PROCESS_IMPORT));
importModelButton.addListener(new ImportModelClickListener());
menuBar.addButton(importModelButton);
return menuBar;
}
Aggregations