public class MarkOccurrenceActionContributor extends AbstractToggleActionContributor implements IActionContributor
AbstractToggleActionContributor.InternalToggleActionIActionContributor.CompositeImpl| Modifier and Type | Field and Description |
|---|---|
static 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.
|
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() |
String |
getPreferenceKey() |
protected void |
stateChanged(boolean newState) |
addPropertyChangeListener, getPreferenceDefaultValue, getPreferenceStoreAccess, initialize, isPropertySet, removePropertyChangeListener, togglepublic static final String EDITOR_MARK_OCCURRENCES
protected org.eclipse.jface.action.Action getAction()
getAction in class AbstractToggleActionContributorpublic void contributeActions(XtextEditor editor)
IActionContributorcontributeActions in interface IActionContributorpublic void editorDisposed(XtextEditor editor)
editorDisposed in interface IActionContributorpublic String getPreferenceKey()
getPreferenceKey in class AbstractToggleActionContributorprotected void stateChanged(boolean newState)
stateChanged in class AbstractToggleActionContributorprotected void configureAction(org.eclipse.jface.action.Action action)
AbstractToggleActionContributorconfigureAction in class AbstractToggleActionContributorCopyright © 2016. All Rights Reserved.