public abstract class LinkWithEditorContribution extends OutlineContribution
Contributes link-with-editor behavior, if the outline page supports
linking with editor. The activation of the feature is governed by the
corresponding preference
. Subclasses must implement linking logic in a linking helper
.
Constructor and Description |
---|
LinkWithEditorContribution() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of this contribution.
|
protected abstract org.eclipse.ui.OpenAndLinkWithEditorHelper |
getLinkingHelper()
Returns a linking helper that will provide link-with-editor logic
for the outline page.
|
void |
init(ICommonOutlinePage outlinePage)
Initializes this contribution.
|
getOutlinePage
public void init(ICommonOutlinePage outlinePage)
OutlineContribution
This method may be extended by subclasses. Subclasses must call the superclass implementation.
init
in interface IOutlineContribution
init
in class OutlineContribution
outlinePage
- the contribution's outline page
(never null
)public void dispose()
OutlineContribution
init()
has been called.
This method has no effect if this contribution has already
been disposed.
This method may be extended by subclasses. Subclasses must call the superclass implementation.
dispose
in interface IOutlineContribution
dispose
in class OutlineContribution
protected abstract org.eclipse.ui.OpenAndLinkWithEditorHelper getLinkingHelper()
null
)Copyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0