public interface IContentViewerPane
extends org.eclipse.jface.viewers.ISelectionProvider
IViewerCreator
interface when
creating a viewer hosted by the content viewer panerIContentViewerCreator
Modifier and Type | Method and Description |
---|---|
void |
addContentViewerListener(IContentViewerListener listener)
Adds a content viewer listener.
|
org.eclipse.ui.IActionBars |
getActionBars()
Returns the action bars of the workbench part associated with the content
viewer pane
|
ContributorType |
getAssociatedContributor()
Returns the contributor type associated with the content viewer pane
|
ICompareMergeController |
getCompareMergeController()
Returns the compare merge controller associated with the content viewer
pane
|
IContentViewerInput |
getInput()
Returns the current content viewer input
|
ContributorType |
getPrimaryContributor()
Returns the primary contributor type associated with the content viewer
pane
|
org.eclipse.jface.action.IToolBarManager |
getToolbarManager()
Returns the toolbar manager associated with the content viewer pane
|
org.eclipse.ui.IWorkbenchPart |
getWorkbenchPart()
Returns the part associated with the content viewer pane
|
boolean |
isBrowseEnabled()
Returns a boolean flag indicating if the pane is in browse mode.
|
void |
removeContentViewerListener(IContentViewerListener listener)
Removes a content viewer listener.
|
org.eclipse.jface.action.IToolBarManager getToolbarManager()
null
if noneICompareMergeController getCompareMergeController()
null
if noneContributorType getPrimaryContributor()
null
if noneContributorType getAssociatedContributor()
null
if noneorg.eclipse.ui.IWorkbenchPart getWorkbenchPart()
null
if noneorg.eclipse.ui.IActionBars getActionBars()
null
if nonevoid addContentViewerListener(IContentViewerListener listener)
listener
- the content viewer listenervoid removeContentViewerListener(IContentViewerListener listener)
listener
- the viewer listenerboolean isBrowseEnabled()
true
if enabled, false
otherwise.IContentViewerInput getInput()