Class LinkWithEditorActionContribution

    • Constructor Detail

      • LinkWithEditorActionContribution

        public LinkWithEditorActionContribution()
    • Method Detail

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