org.eclipse.xtext.xtext.ui.editor.outline
Class FilterTerminalRulesContribution

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.actions.AbstractToggleActionContributor
      extended by org.eclipse.xtext.ui.editor.outline.actions.AbstractToggleOutlineContribution
          extended by org.eclipse.xtext.ui.editor.outline.actions.AbstractFilterOutlineContribution
              extended by org.eclipse.xtext.xtext.ui.editor.outline.FilterTerminalRulesContribution
All Implemented Interfaces:
IOutlineContribution, IPreferenceStoreInitializer

public class FilterTerminalRulesContribution
extends AbstractFilterOutlineContribution

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
static interface FilterTerminalRulesContribution.Annotation
           
 
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.actions.AbstractToggleActionContributor
AbstractToggleActionContributor.InternalToggleAction
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.outline.actions.IOutlineContribution
IOutlineContribution.All, IOutlineContribution.Composite, IOutlineContribution.LinkWithEditor, IOutlineContribution.Sort
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer
IPreferenceStoreInitializer.CompositeImpl
 
Field Summary
static java.lang.String PREFERENCE_KEY
           
 
Constructor Summary
FilterTerminalRulesContribution()
           
 
Method Summary
protected  boolean apply(IOutlineNode node)
           
protected  void configureAction(org.eclipse.jface.action.Action action)
          Subclasses must set text, image, description, tooltip etc. here.
 java.lang.String getPreferenceKey()
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.outline.actions.AbstractFilterOutlineContribution
deregister, getFilter, register, stateChanged
 
Methods inherited from class org.eclipse.xtext.ui.editor.actions.AbstractToggleActionContributor
addPropertyChangeListener, getAction, getPreferenceStoreAccess, initialize, isPropertySet, removePropertyChangeListener, toggle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer
initialize
 

Field Detail

PREFERENCE_KEY

public static final java.lang.String PREFERENCE_KEY
See Also:
Constant Field Values
Constructor Detail

FilterTerminalRulesContribution

public FilterTerminalRulesContribution()
Method Detail

apply

protected boolean apply(IOutlineNode node)
Specified by:
apply in class AbstractFilterOutlineContribution

getPreferenceKey

public java.lang.String getPreferenceKey()
Specified by:
getPreferenceKey in class AbstractToggleActionContributor

configureAction

protected void configureAction(org.eclipse.jface.action.Action action)
Description copied from class: AbstractToggleActionContributor
Subclasses must set text, image, description, tooltip etc. here.

Specified by:
configureAction in class AbstractToggleActionContributor