public class LinkWithEditorActionContribution extends ToggleActionContribution
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The action id.
|
Constructor and Description |
---|
LinkWithEditorActionContribution() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureAction(org.eclipse.jface.action.IAction action)
Hook to configure the contributed action (set its id, text, image, etc.)
This method is called once, when this contribution is initializing.
|
protected IBooleanPreference |
getPreference()
Returns a boolean-valued preference that is to be toggled by the
contributed action.
|
createAction, disposeAction
contribute, dispose, getContributionManager, init
getOutlinePage
public static final java.lang.String ID
protected IBooleanPreference getPreference()
ToggleActionContribution
null
, in which case
this contribution will be effectively disabled. This method
is called once, when this contribution is initializing.getPreference
in class ToggleActionContribution
null
protected void configureAction(org.eclipse.jface.action.IAction action)
ToggleActionContribution
configureAction
in class ToggleActionContribution
action
- the action to configure (never null
)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0