org.eclipse.xtext.ui.editor.occurrences
Class MarkOccurrenceActionContributor
java.lang.Object
org.eclipse.xtext.ui.editor.actions.AbstractToggleActionContributor
org.eclipse.xtext.ui.editor.occurrences.MarkOccurrenceActionContributor
- All Implemented Interfaces:
- IActionContributor
public class MarkOccurrenceActionContributor
- extends AbstractToggleActionContributor
- implements IActionContributor
- Author:
- Jan Koehnlein - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDITOR_MARK_OCCURRENCES
public static final java.lang.String EDITOR_MARK_OCCURRENCES
- See Also:
- Constant Field Values
MarkOccurrenceActionContributor
public MarkOccurrenceActionContributor()
getAction
protected org.eclipse.jface.action.Action getAction()
- Overrides:
getAction
in class AbstractToggleActionContributor
contributeActions
public void contributeActions(XtextEditor editor)
- Description copied from interface:
IActionContributor
- hook used to contribute any actions on editor start up.
- Specified by:
contributeActions
in interface IActionContributor
editorDisposed
public void editorDisposed(XtextEditor editor)
- Specified by:
editorDisposed
in interface IActionContributor
getPreferenceKey
public java.lang.String getPreferenceKey()
- Specified by:
getPreferenceKey
in class AbstractToggleActionContributor
stateChanged
protected void stateChanged(boolean newState)
- Specified by:
stateChanged
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