Package org.eclipse.handly.ui.outline
Class EditorInputListenerContribution
- java.lang.Object
-
- org.eclipse.handly.ui.outline.OutlineContribution
-
- org.eclipse.handly.ui.outline.EditorInputListenerContribution
-
- All Implemented Interfaces:
IOutlineContribution
public abstract class EditorInputListenerContribution extends OutlineContribution
An abstract base class for outline contributions listening to the outline page's editor input change.
-
-
Constructor Summary
Constructors Constructor Description EditorInputListenerContribution()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes of this contribution.protected abstract voideditorInputChanged()Notifies that the outline page's editor input has changed.voidinit(ICommonOutlinePage outlinePage)Initializes this contribution.-
Methods inherited from class org.eclipse.handly.ui.outline.OutlineContribution
getOutlinePage
-
-
-
-
Method Detail
-
init
public void init(ICommonOutlinePage outlinePage)
Description copied from class:OutlineContributionInitializes this contribution. This method is called after the outline page's tree viewer has been created.This method may be extended by subclasses. Subclasses must call the superclass implementation.
- Specified by:
initin interfaceIOutlineContribution- Overrides:
initin classOutlineContribution- Parameters:
outlinePage- the contribution's outline page (nevernull)
-
dispose
public void dispose()
Description copied from class:OutlineContributionDisposes of this contribution. Implementors should clean up any resources associated with this contribution. Note that there is no guarantee thatinit()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.
- Specified by:
disposein interfaceIOutlineContribution- Overrides:
disposein classOutlineContribution
-
editorInputChanged
protected abstract void editorInputChanged()
Notifies that the outline page's editor input has changed.
-
-