Class ChangeCompareFilterPropertyAction

All Implemented Interfaces:
EventListener, IAction, IPropertyChangeListener, DisposeListener, SWTEventListener

public class ChangeCompareFilterPropertyAction extends Action implements IPropertyChangeListener, DisposeListener
Toggles the activation of a compare filter
  • Field Details

  • Constructor Details

  • Method Details

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

      public void setChecked(boolean state)
      Description copied from interface: IAction
      Sets the checked status of this action. Applicable for the styles AS_CHECK_BOX or AS_RADIO_BUTTON.

      Fires a property change event for the CHECKED property if the checked status actually changes as a consequence.

      Specified by:
      setChecked in interface IAction
      Overrides:
      setChecked in class Action
      Parameters:
      state - the new checked status
      See Also:
    • setCompareConfiguration

      public void setCompareConfiguration(CompareConfiguration cc)
    • propertyChange

      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
    • dispose

      public void dispose()
    • widgetDisposed

      public void widgetDisposed(DisposeEvent e)
      Description copied from interface: DisposeListener
      Sent when the widget is disposed.
      Specified by:
      widgetDisposed in interface DisposeListener
      Parameters:
      e - an event containing information about the dispose
    • getFilterId

      public String getFilterId()
    • setInput

      public void setInput(Object input, Object ancestor, Object left, Object right)