public class EncodingActionGroup extends ActionGroup
Constructor and Description |
---|
EncodingActionGroup()
Deprecated.
Creates a new encoding action group for an action bar contributor.
|
EncodingActionGroup(ITextEditor editor)
Deprecated.
Creates a new encoding action group for the given editor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Deprecated.
This method is called by the user of an action group to signal that the group is
no longer needed.
|
void |
fillActionBars(IActionBars actionBars)
Deprecated.
Adds the applicable actions to a part's action bars,
including setting any global action handlers.
|
void |
retarget(ITextEditor editor)
Deprecated.
Retargets this action group to the given editor.
|
void |
update()
Deprecated.
Updates all actions of this action group.
|
fillContextMenu, getContext, setContext, updateActionBars
public EncodingActionGroup()
public EncodingActionGroup(ITextEditor editor)
editor
- the text editorpublic 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 text editor to which the group should be retargetedpublic void update()
public void dispose()
ActionGroup
The default implementation calls setContext(null)
.
Subclasses may extend this method.
dispose
in class ActionGroup
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.