name="eu.etaxonomy.taxeditor.ui.file.separator3"\r
visible="true">\r
</separator>\r
- <command\r
+ <!--<command\r
commandId="eu.etaxonomy.taxeditor.noCmdYet"\r
label="Import"\r
style="push">\r
commandId="eu.etaxonomy.taxeditor.noCmdYet"\r
label="Export"\r
style="push">\r
- </command>\r
+ </command>-->\r
<separator\r
name="eu.etaxonomy.taxeditor.ui.file.separator4"\r
visible="false">\r
id="eu.etaxonomy.taxeditor.editor.swapTaxonSynonym"\r
name="Swap Taxon Synonym">\r
</command>\r
+ <command\r
+ defaultHandler="org.eclipse.ui.internal.handlers.ToggleCoolbarHandler"\r
+ id="eu.etaxonomy.taxeditor.toggleCoolBar"\r
+ name="Toggle Coolbar">\r
+ </command>\r
</extension>\r
<extension\r
point="org.eclipse.ui.handlers">\r
private static final Logger logger = Logger
.getLogger(ApplicationActionBarAdvisor.class);
+ private List<IAction> importActionList;
+
+ private IAction exportJaxbAction;
+
+
+ public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
+ super(configurer);
+ }
+
protected void makeActions(final IWorkbenchWindow window) {
GlobalController.setStatusLineManager(getActionBarConfigurer().getStatusLineManager());
}
protected void fillMenuBar(IMenuManager menuBar) {
}
+
// Actions - important to allocate these only in makeActions, and then use
// them in the fill methods. This ensures that the actions aren't recreated
// when fillActionBars is called with FILL_PROXY.
//
// private IAction newNameAction;
- private List<IAction> importActionList;
-
- private IAction exportJaxbAction;
-
-
- public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
- super(configurer);
- }
+ @Deprecated
protected void _makeActions(final IWorkbenchWindow window) {
// Creates the actions and registers them.
// Registering is needed to ensure that key bindings work.
register(exportJaxbAction);
}
-
+ @Deprecated
private void makeImportActions() {
// importActionList = new ArrayList<IAction>();
// }
}
+ @Deprecated
private MenuManager FILE_MENU(){
MenuManager fileMenu = new MenuManager("&File",
IWorkbenchActionConstants.M_FILE);
return fileMenu;
}
-
+ @Deprecated
private MenuManager EDIT_MENU() {
MenuManager editMenu = new MenuManager("&Edit", IWorkbenchActionConstants.M_EDIT);
return editMenu;
}
+ @Deprecated
private MenuManager WINDOW_MENU() {
MenuManager windowMenu = new MenuManager("&Window",
IWorkbenchActionConstants.M_WINDOW);
return windowMenu;
}
+ @Deprecated
private MenuManager HELP_MENU(){
MenuManager helpMenu = new MenuManager("&Help",
IWorkbenchActionConstants.M_HELP);
return helpMenu;
}
+ @Deprecated
protected void _fillMenuBar(IMenuManager menuBar) {
menuBar.add(FILE_MENU());