org.eclipse.xtend.ide.outline
Class ShowSyntheticMembersContribution

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.xtend.ide.outline.ShowSyntheticMembersContribution
All Implemented Interfaces:
IOutlineContribution, IPreferenceStoreInitializer

public class ShowSyntheticMembersContribution
extends AbstractFilterOutlineContribution

Author:
Sven Efftinge - 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
 
Field Summary
static java.lang.String PREFERENCE_KEY
           
 
Constructor Summary
ShowSyntheticMembersContribution()
           
 
Method Summary
protected  boolean apply(IOutlineNode node)
           
protected  void configureAction(org.eclipse.jface.action.Action action)
          Subclasses must set text, image, description, tooltip etc.
 OutlineFilterAndSorter.IFilter getFilter()
           
protected  org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String imagePath)
           
 java.lang.String getPreferenceKey()
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.outline.actions.AbstractFilterOutlineContribution
deregister, register, stateChanged
 
Methods inherited from class org.eclipse.xtext.ui.editor.actions.AbstractToggleActionContributor
addPropertyChangeListener, getAction, getPreferenceDefaultValue, 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

ShowSyntheticMembersContribution

public ShowSyntheticMembersContribution()
Method Detail

getFilter

public OutlineFilterAndSorter.IFilter getFilter()
Overrides:
getFilter in class AbstractFilterOutlineContribution

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

getImageDescriptor

protected org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String imagePath)