Class LexicalSortActionContribution

All Implemented Interfaces:
IOutlineContribution

public class LexicalSortActionContribution extends ToggleActionContribution
Contributes lexical sort action, if the outline page supports lexical sorting.
  • Field Details

  • Constructor Details

    • LexicalSortActionContribution

      public LexicalSortActionContribution()
  • Method Details

    • getPreference

      protected IBooleanPreference getPreference()
      Description copied from class: ToggleActionContribution
      Returns a boolean-valued preference that is to be toggled by the contributed action. May return null, in which case this contribution will be effectively disabled. This method is called once, when this contribution is initializing.
      Specified by:
      getPreference in class ToggleActionContribution
      Returns:
      the linked preference, or null
    • configureAction

      protected void configureAction(org.eclipse.jface.action.IAction action)
      Description copied from class: ToggleActionContribution
      Hook to configure the contributed action (set its id, text, image, etc.) This method is called once, when this contribution is initializing.
      Specified by:
      configureAction in class ToggleActionContribution
      Parameters:
      action - the action to configure (never null)