Method Summary |
|
void | addToolAction(IAction action) Adds an Action that executes a tool to the toolbar. |
public void | contributeActionTools(IToolBarManager toolBarManager, IActionBars bars) Adds action tools contribution items to the toolbar. |
void | contributeActiveModalTool(IMenuManager manager) Contributes items from current active modal tool to the
context menu if the modal tool implements IContextMenuContributionTool
interface. |
void | contributeGlobalActions(IWorkbenchPart part, IActionBars bars) Contributes the common global actions. |
public void | contributeModalTools(IToolBarManager toolBarManager, IActionBars bars) Adds modal tools contribution items to the toolbar. |
void | contributeToCoolBar(SubCoolBarManager cbmanager, IActionBars bars) |
void | contributeToMenu(IMenuManager manager) |
MenuManager | createOperationsContextMenu(ISelection selection) This allows for customized operation menus that are based on the currently selected tool. |
IAction | createToolAction(String toolID, String categoryID) Creates a action that acts as a proxy for the tool in the editor toolbar.
The client code must set the name image descriptor etc... |
ActionToolCategory | findActionCategory(String id) |
Tool | findTool(String toolID) Finds tool proxy and returns the actual tool implementation
object. |
public Cursor | findToolCursor(String cursorID) Searches for the Cursor object by ID. |
ToolCategory | getActiveCategory() Returns the tool category that is currently active. |
Tool | getActiveTool() Returns current active tool implementation object. |
IAction | getBACKWARD_HISTORYAction() Retrieves the backward navigation action that is used by much of the map components such as
the MapEditor and the LayersView. |
IAction | getCOPYAction(IWorkbenchPart part) |
IAction | getCUTAction(IWorkbenchPart part) |
IAction | getDELETEAction() |
IAction | getFORWARD_HISTORYAction() Retrieves the forward navigation action that is used by much of the map components such as
the MapEditor and the LayersView. |
List<ModalToolCategory> | getModalToolCategories() Returns the list of categories containing modal tools. |
IAction | getPASTEAction(IWorkbenchPart part) |
IAction | getREDOAction() Retrieves the redo action that is used by much of the map components such as the MapEditor
and the LayersView. |
IAction | getTool(String toolID, String categoryID) Returns the tool identified by an id and a category. |
IAction | getToolAction(String toolID, String categoryID) Returns the tool identified by an id and a category. |
IAction | getUNDOAction() Retrieves the undo action that is used by much of the map components such as the MapEditor
and the LayersView. |
void | registerActionsWithPart(IWorkbenchPart part) |
void | setBACKAction(IAction action, IWorkbenchPart part) |
void | setCOPYAction(IAction action, IWorkbenchPart part) |
void | setCUTAction(IAction action, IWorkbenchPart part) |
void | setCurrentEditor(MapEditor editor) |
void | setDELETEAction(IAction action, IWorkbenchPart part) |
void | setFORWARDAction(IAction action, IWorkbenchPart part) |
void | setPASTEAction(IAction action, IWorkbenchPart part) |
void | setREDOAction(IAction action, IWorkbenchPart part) |
void | setUNDOAction(IAction action, IWorkbenchPart part) |
public void | unregisterActions(IWorkbenchPart part) |