started implementing command framework
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor / src / eu / etaxonomy / taxeditor / ApplicationActionBarAdvisor.java
index 0c7e0bbb6291525bd4a757ec58de817c32bf750d..33a03568b949dc06071363b093e954be8271fcb5 100644 (file)
@@ -41,6 +41,13 @@ public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
        private static final Logger logger = Logger
                        .getLogger(ApplicationActionBarAdvisor.class);
 
+       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.
@@ -61,14 +68,14 @@ public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
                super(configurer);
        }
 
-       protected void makeActions(final IWorkbenchWindow window) {
+       protected void _makeActions(final IWorkbenchWindow window) {
                // Creates the actions and registers them.
                // Registering is needed to ensure that key bindings work.
                // The corresponding commands keybindings are defined in the plugin.xml
                // file.
                // Registering also provides automatic disposal of the actions when
                // the window is closed.
-
+               
                GlobalController.setStatusLineManager(getActionBarConfigurer().getStatusLineManager());
                
                // File menu actions
@@ -175,7 +182,7 @@ public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
                return helpMenu;
        }
 
-       protected void fillMenuBar(IMenuManager menuBar) {
+       protected void _fillMenuBar(IMenuManager menuBar) {
                
                menuBar.add(FILE_MENU());