]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/ApplicationActionBarAdvisor.java
-> Rename SlcExecution to Process
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / src / org / argeo / slc / client / rcp / ApplicationActionBarAdvisor.java
index 340f175428b063f9097262e5dbd897f8280951a5..70f6217cd39f5f5096df34c66c45eed3c7b8f0af 100644 (file)
@@ -1,11 +1,7 @@
 package org.argeo.slc.client.rcp;
 
 import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.MenuManager;
-import org.eclipse.ui.IWorkbenchActionConstants;
 import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.actions.ActionFactory;
-import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
 import org.eclipse.ui.application.ActionBarAdvisor;
 import org.eclipse.ui.application.IActionBarConfigurer;
 
@@ -20,7 +16,6 @@ public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
        // them
        // in the fill methods. This ensures that the actions aren't recreated
        // when fillActionBars is called with FILL_PROXY.
-       private IWorkbenchAction exitAction;
 
        public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
                super(configurer);
@@ -33,16 +28,9 @@ public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
                // file.
                // Registering also provides automatic disposal of the actions when
                // the window is closed.
-
-               exitAction = ActionFactory.QUIT.create(window);
-               register(exitAction);
        }
 
        protected void fillMenuBar(IMenuManager menuBar) {
-               MenuManager fileMenu = new MenuManager("&File",
-                               IWorkbenchActionConstants.M_FILE);
-               menuBar.add(fileMenu);
-               fileMenu.add(exitAction);
        }
 
 }