Class TextEditorPropertyAction

All Implemented Interfaces:
EventListener, IAction, IPropertyChangeListener
Direct Known Subclasses:
ShowWhitespaceAction

public class TextEditorPropertyAction extends Action implements IPropertyChangeListener
  • Constructor Details Link icon

  • Method Details Link icon

    • getViewers Link icon

      public MergeSourceViewer[] getViewers()
    • propertyChange Link icon

      public void propertyChange(PropertyChangeEvent event)
      Description copied from interface: IPropertyChangeListener
      Notification that a property has changed.

      This method gets called when the observed object fires a property change event.

      Specified by:
      propertyChange in interface IPropertyChangeListener
      Parameters:
      event - the property change event object describing which property changed and how
    • synchronizeWithPreference Link icon

      protected void synchronizeWithPreference()
    • getPreferenceKey Link icon

      public String getPreferenceKey()
    • run Link icon

      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
      Overrides:
      run in class Action
      See Also:
    • dispose Link icon

      public void dispose()
    • toggleState Link icon

      protected boolean toggleState(boolean checked)
      Parameters:
      checked - new state
      Returns:
      true if state has been changed, toggle has been successful