Package org.eclipse.ui.editors.text
Class EncodingActionGroup
- java.lang.Object
-
- org.eclipse.ui.actions.ActionGroup
-
- org.eclipse.ui.editors.text.EncodingActionGroup
-
@Deprecated(forRemoval=true) public class EncodingActionGroup extends ActionGroup
Deprecated, for removal: This API element is subject to removal in a future version.As of 3.1, encoding needs to be changed via properties dialog. This class is planned for removal after March 2021 (see bug#544309 for details).Action group for encoding actions.- Since:
- 2.0
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be referenced by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Constructor Summary
Constructors Constructor Description EncodingActionGroup()Deprecated, for removal: This API element is subject to removal in a future version.Creates a new encoding action group for an action bar contributor.EncodingActionGroup(ITextEditor editor)Deprecated, for removal: This API element is subject to removal in a future version.Creates a new encoding action group for the given editor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddispose()Deprecated, for removal: This API element is subject to removal in a future version.This method is called by the user of an action group to signal that the group is no longer needed.voidfillActionBars(IActionBars actionBars)Deprecated, for removal: This API element is subject to removal in a future version.Adds the applicable actions to a part's action bars, including setting any global action handlers.voidretarget(ITextEditor editor)Deprecated, for removal: This API element is subject to removal in a future version.Retargets this action group to the given editor.voidupdate()Deprecated, for removal: This API element is subject to removal in a future version.Updates all actions of this action group.-
Methods inherited from class org.eclipse.ui.actions.ActionGroup
fillContextMenu, getContext, setContext, updateActionBars
-
-
-
-
Constructor Detail
-
EncodingActionGroup
public EncodingActionGroup()
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new encoding action group for an action bar contributor.
-
EncodingActionGroup
public EncodingActionGroup(ITextEditor editor)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new encoding action group for the given editor.- Parameters:
editor- the text editor
-
-
Method Detail
-
fillActionBars
public void fillActionBars(IActionBars actionBars)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupAdds the applicable actions to a part's action bars, including setting any global action handlers.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
fillActionBarsin classActionGroup- Parameters:
actionBars- the part's action bars
-
retarget
public void retarget(ITextEditor editor)
Deprecated, for removal: This API element is subject to removal in a future version.Retargets this action group to the given editor.- Parameters:
editor- the text editor to which the group should be retargeted
-
update
public void update()
Deprecated, for removal: This API element is subject to removal in a future version.Updates all actions of this action group.
-
dispose
public void dispose()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupThis method is called by the user of an action group to signal that the group is no longer needed. Subclasses typically implement this method to deregister any listeners or to free other resources.The default implementation calls
setContext(null). Subclasses may extend this method.- Overrides:
disposein classActionGroup
-
-