Class ChangeEncodingAction

  • All Implemented Interfaces:
    IAction, IUpdate

    public class ChangeEncodingAction
    extends TextEditorAction
    Action for changing the encoding of the editor's input element.

    The following keys, prepended by the given option prefix, are used for retrieving resources from the given bundle:

    • "dialog.title" - the input dialog's title

    This class may be instantiated but is not intended to be subclassed.

    This class is not intended to be subclassed by clients.
    • Method Detail

      • run

        public void run()
        Description copied from class: Action
        The default implementation of this IAction method does nothing. Subclasses should override this method if they do not need information from the triggering event, or override runWithEvent(Event) if they do.
        Specified by:
        run in interface IAction
        run in class Action
        See Also:
        How radio buttons are handled, How check boxes are handled
      • update

        public void update()
        Description copied from class: TextEditorAction
        Always enables this action if it is connected to a text editor. If the associated editor is null, the action is disabled. Subclasses may override.
        Specified by:
        update in interface IUpdate
        update in class TextEditorAction