org.eclipse.xtext.ui.editor.outline.actions
Class AbstractFilterOutlineContribution

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
All Implemented Interfaces:
IOutlineContribution, IPreferenceStoreInitializer
Direct Known Subclasses:
FilterTerminalRulesContribution, ShowSyntheticMembersContribution

public abstract class AbstractFilterOutlineContribution
extends AbstractToggleOutlineContribution

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
 
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
 
Constructor Summary
AbstractFilterOutlineContribution()
           
 
Method Summary
protected abstract  boolean apply(IOutlineNode node)
           
 void deregister(OutlinePage outlinePage)
           
protected  OutlineFilterAndSorter.IFilter getFilter()
           
 void register(OutlinePage outlinePage)
           
protected  void stateChanged(boolean newState)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.actions.AbstractToggleActionContributor
addPropertyChangeListener, configureAction, getAction, getPreferenceDefaultValue, getPreferenceKey, 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
 

Constructor Detail

AbstractFilterOutlineContribution

public AbstractFilterOutlineContribution()
Method Detail

apply

protected abstract boolean apply(IOutlineNode node)

getFilter

protected OutlineFilterAndSorter.IFilter getFilter()

stateChanged

protected void stateChanged(boolean newState)
Specified by:
stateChanged in class AbstractToggleActionContributor

register

public void register(OutlinePage outlinePage)
Specified by:
register in interface IOutlineContribution
Overrides:
register in class AbstractToggleOutlineContribution

deregister

public void deregister(OutlinePage outlinePage)
Specified by:
deregister in interface IOutlineContribution
Overrides:
deregister in class AbstractToggleOutlineContribution