|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.actions.ActionGroup | +--org.eclipse.ui.editors.text.EncodingActionGroup
Action group for encoding actions.
Constructor Summary | |
EncodingActionGroup()
Creates a new encoding action group for an action bar contributor. |
|
EncodingActionGroup(ITextEditor editor)
Creates a new encoding action group for the given editor |
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 |
retarget(ITextEditor editor)
Retargets this action group to the given editor. |
void |
update()
Updates all actions of this action group. |
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
fillContextMenu, getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncodingActionGroup()
public EncodingActionGroup(ITextEditor editor)
editor
- the editorMethod Detail |
public void fillActionBars(IActionBars actionBars)
ActionGroup
The default implementation does nothing. Subclasses may override or extend this method.
fillActionBars
in class ActionGroup
actionBars
- the part's action barspublic void retarget(ITextEditor editor)
editor
- the target editorpublic void update()
public void dispose()
ActionGroup
The default implementation calls setContext(null)
.
Subclasses may extend this method.
dispose
in class ActionGroup
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |