org.eclipse.ui.application.IActionBarConfigurer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workbench Show documentation
Show all versions of workbench Show documentation
This plug-in contains the bulk of the Workbench implementation, and depends on JFace, SWT, and Core Runtime. It cannot be used independently from org.eclipse.ui. Workbench client plug-ins should not depend directly on this plug-in.
The newest version!
/*******************************************************************************
* Copyright (c) 2003, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.application;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.ICoolBarManager;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
/**
* Interface providing special access for configuring the action bars
* of a workbench window.
*
* Note that these objects are only available to the main application
* (the plug-in that creates and owns the workbench).
*
*
* This interface is not intended to be implemented by clients.
*
*
* @see org.eclipse.ui.application.WorkbenchAdvisor#fillActionBars
* @since 3.0
*/
public interface IActionBarConfigurer {
/**
* Returns the workbench window configurer for the window
* containing this configurer's action bars.
*
* @return the workbench window configurer
* @since 3.1
*/
public IWorkbenchWindowConfigurer getWindowConfigurer();
/**
* Returns the menu manager for the main menu bar of a workbench window.
*
* @return the menu manager
*/
public IMenuManager getMenuManager();
/**
* Returns the status line manager of a workbench window.
*
* @return the status line manager
*/
public IStatusLineManager getStatusLineManager();
/**
* Returns the cool bar manager of the workbench window.
*
* @return the cool bar manager
*/
public ICoolBarManager getCoolBarManager();
/**
* Register the action as a global action with a workbench
* window.
*
* For a workbench retarget action
* ({@link org.eclipse.ui.actions.RetargetAction RetargetAction})
* to work, it must be registered.
* You should also register actions that will participate
* in custom key bindings.
*
*
* @param action the global action
* @see org.eclipse.ui.actions.RetargetAction
*/
public void registerGlobalAction(IAction action);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy