Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java')
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java155
1 files changed, 77 insertions, 78 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java
index de6c1a82e7e..d060e15d2b1 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java
@@ -23,105 +23,104 @@ import org.eclipse.ui.IActionBars2;
import org.eclipse.ui.services.IServiceLocator;
public class WWinActionBars implements IActionBars2 {
- private WorkbenchWindow window;
+ private WorkbenchWindow window;
- /**
- * PerspActionBars constructor comment.
- */
- public WWinActionBars(WorkbenchWindow window) {
- super();
- this.window = window;
- }
+ /**
+ * PerspActionBars constructor comment.
+ */
+ public WWinActionBars(WorkbenchWindow window) {
+ super();
+ this.window = window;
+ }
- /**
- * Clears the global action handler list.
- */
- @Override
+ /**
+ * Clears the global action handler list.
+ */
+ @Override
public void clearGlobalActionHandlers() {
- }
+ }
- /**
- * Returns the cool bar manager.
- *
- */
- @Override
+ /**
+ * Returns the cool bar manager.
+ *
+ */
+ @Override
public ICoolBarManager getCoolBarManager() {
- return window.getCoolBarManager2();
- }
+ return window.getCoolBarManager2();
+ }
- /**
- * Get the handler for a window action.
- *
- * @param actionID an action ID declared in the registry
- * @return an action handler which implements the action ID, or
- * <code>null</code> if none is registered.
- */
- @Override
+ /**
+ * Get the handler for a window action.
+ *
+ * @param actionID an action ID declared in the registry
+ * @return an action handler which implements the action ID, or
+ * <code>null</code> if none is registered.
+ */
+ @Override
public IAction getGlobalActionHandler(String actionID) {
- return null;
- }
+ return null;
+ }
- /**
- * Returns the menu manager. If items are added or
- * removed from the manager be sure to call <code>updateActionBars</code>.
- *
- * @return the menu manager
- */
- @Override
+ /**
+ * Returns the menu manager. If items are added or removed from the manager be
+ * sure to call <code>updateActionBars</code>.
+ *
+ * @return the menu manager
+ */
+ @Override
public IMenuManager getMenuManager() {
- return window.getMenuManager();
- }
+ return window.getMenuManager();
+ }
@Override
public final IServiceLocator getServiceLocator() {
return window;
}
- /**
- * Returns the status line manager. If items are added or
- * removed from the manager be sure to call <code>updateActionBars</code>.
- *
- * @return the status line manager
- */
- @Override
+ /**
+ * Returns the status line manager. If items are added or removed from the
+ * manager be sure to call <code>updateActionBars</code>.
+ *
+ * @return the status line manager
+ */
+ @Override
public IStatusLineManager getStatusLineManager() {
- return window.getStatusLineManager();
- }
+ return window.getStatusLineManager();
+ }
- /**
- * Returns the tool bar manager.
- *
- */
- @Override
+ /**
+ * Returns the tool bar manager.
+ *
+ */
+ @Override
public IToolBarManager getToolBarManager() {
- // This should never be called
- Assert.isTrue(false);
- return null;
- }
+ // This should never be called
+ Assert.isTrue(false);
+ return null;
+ }
- /**
- * Add a handler for a window action.
- *
- * The standard action ID's for the workbench are defined in
- * <code>IWorkbenchActions</code>.
- *
- * @see IWorkbenchActions
- *
- * @param actionID an action ID declared in the registry
- * @param handler an action which implements the action ID.
- * <code>null</code> may be passed to deregister a handler.
- */
- @Override
+ /**
+ * Add a handler for a window action.
+ *
+ * The standard action ID's for the workbench are defined in
+ * <code>IWorkbenchActions</code>.
+ *
+ * @see IWorkbenchActions
+ *
+ * @param actionID an action ID declared in the registry
+ * @param handler an action which implements the action ID. <code>null</code>
+ * may be passed to deregister a handler.
+ */
+ @Override
public void setGlobalActionHandler(String actionID, IAction handler) {
- }
+ }
/**
- * Commits all UI changes. This should be called
- * after additions or subtractions have been made to a
- * menu, status line, or toolbar.
- */
- @Override
+ * Commits all UI changes. This should be called after additions or subtractions
+ * have been made to a menu, status line, or toolbar.
+ */
+ @Override
public void updateActionBars() {
- window.updateActionBars();
- }
+ window.updateActionBars();
+ }
}

Back to the top