public abstract class OutlineFilterContribution extends OutlineContribution
| Constructor and Description |
|---|
OutlineFilterContribution() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of this contribution.
|
protected abstract org.eclipse.jface.viewers.ViewerFilter |
getFilter()
Returns a viewer filter that is to be contributed to the outline page.
|
protected abstract IBooleanPreference |
getPreference()
Returns a boolean-valued preference that will control the activation
of the filter.
|
void |
init(ICommonOutlinePage outlinePage)
Initializes this contribution.
|
getOutlinePagepublic void init(ICommonOutlinePage outlinePage)
OutlineContributionThis method may be extended by subclasses. Subclasses must call the superclass implementation.
init in interface IOutlineContributioninit in class OutlineContributionoutlinePage - the contribution's outline page
(never null)public void dispose()
OutlineContributioninit() 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 IOutlineContributiondispose in class OutlineContributionprotected abstract IBooleanPreference getPreference()
null, in which case
this contribution will be effectively disabled. This method
is called once, when this contribution is initializing.nullprotected abstract org.eclipse.jface.viewers.ViewerFilter getFilter()
preference. This method is called once,
when this contribution is initializing.null)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0