|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
org.eclipse.ui.views.navigator.RefactorActionGroup
public class RefactorActionGroup
This is the action group for refactor actions, including global action handlers for copy, paste and delete.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup |
|---|
navigator |
| Constructor Summary | |
|---|---|
RefactorActionGroup(IResourceNavigator navigator)
|
|
| Method Summary | |
|---|---|
void |
dispose()
This method is called by the user of an action group to signal that the group is no longer needed. |
void |
fillActionBars(IActionBars actionBars)
Adds the applicable actions to a part's action bars, including setting any global action handlers. |
void |
fillContextMenu(IMenuManager menu)
Adds the applicable actions to a context menu, based on the state of the ActionContext. |
void |
handleKeyPressed(KeyEvent event)
Handles a key pressed event by invoking the appropriate action. |
protected void |
makeActions()
Makes the actions contained in this action group. |
void |
updateActionBars()
Updates the state of the actions added to the action bars, including any global action handlers, based on the state of the ActionContext. |
| Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup |
|---|
getImageDescriptor, getNavigator, runDefaultAction |
| Methods inherited from class org.eclipse.ui.actions.ActionGroup |
|---|
getContext, setContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefactorActionGroup(IResourceNavigator navigator)
| Method Detail |
|---|
public void dispose()
ActionGroup
The default implementation calls setContext(null).
Subclasses may extend this method.
dispose in class ActionGrouppublic void fillContextMenu(IMenuManager menu)
ActionGroupActionContext.
The default implementation does nothing. Subclasses may override or extend this method.
fillContextMenu in class ActionGroupmenu - the context menu managerpublic void fillActionBars(IActionBars actionBars)
ActionGroupThe default implementation does nothing. Subclasses may override or extend this method.
fillActionBars in class ActionGroupactionBars - the part's action barspublic void handleKeyPressed(KeyEvent event)
handleKeyPressed in class ResourceNavigatorActionGroupprotected void makeActions()
ResourceNavigatorActionGroup
makeActions in class ResourceNavigatorActionGrouppublic void updateActionBars()
ActionGroupActionContext.
The default implementation does nothing. Subclasses may override or extend this method.
updateActionBars in class ActionGroup
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.