public class MarkOccurrenceActionContributor extends AbstractToggleActionContributor implements IActionContributor
AbstractToggleActionContributor.InternalToggleAction
IActionContributor.CompositeImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EDITOR_MARK_OCCURRENCES |
Constructor and Description |
---|
MarkOccurrenceActionContributor() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureAction(org.eclipse.jface.action.Action action)
Subclasses must set text, image, description, tooltip etc. here.
|
void |
contributeActions(XtextEditor editor)
hook used to contribute any actions on editor start up.
|
void |
editorDisposed(XtextEditor editor) |
protected org.eclipse.jface.action.Action |
getAction() |
java.lang.String |
getPreferenceKey() |
protected void |
stateChanged(boolean newState) |
addPropertyChangeListener, getPreferenceDefaultValue, getPreferenceStoreAccess, initialize, isPropertySet, removePropertyChangeListener, toggle
public static final java.lang.String EDITOR_MARK_OCCURRENCES
protected org.eclipse.jface.action.Action getAction()
getAction
in class AbstractToggleActionContributor
public void contributeActions(XtextEditor editor)
IActionContributor
contributeActions
in interface IActionContributor
public void editorDisposed(XtextEditor editor)
editorDisposed
in interface IActionContributor
public java.lang.String getPreferenceKey()
getPreferenceKey
in class AbstractToggleActionContributor
protected void stateChanged(boolean newState)
stateChanged
in class AbstractToggleActionContributor
protected void configureAction(org.eclipse.jface.action.Action action)
AbstractToggleActionContributor
configureAction
in class AbstractToggleActionContributor