Package org.eclipse.compare.internal
Class OutlineViewerCreator
java.lang.Object
org.eclipse.compare.internal.OutlineViewerCreator
Class which allows content merge viewer to provide a structure viewer that can be used in the outline
view.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property constant that identifies the input of the outline view. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abstract Viewer
findStructureViewer
(Viewer oldViewer, ICompareInput input, Composite parent, CompareConfiguration configuration) Method called by the editor to create a structure viewer for the current content merge viewer.void
fireInputChange
(Object oldInput, Object newInput) abstract Object
getInput()
abstract boolean
hasViewerFor
(Object input) void
-
Field Details
-
PROP_INPUT
Property constant that identifies the input of the outline view.- See Also:
-
-
Constructor Details
-
OutlineViewerCreator
public OutlineViewerCreator()
-
-
Method Details
-
findStructureViewer
public abstract Viewer findStructureViewer(Viewer oldViewer, ICompareInput input, Composite parent, CompareConfiguration configuration) Method called by the editor to create a structure viewer for the current content merge viewer.- Parameters:
oldViewer
- the current viewer that is being used to show the structureinput
- the inputparent
- the parent compositeconfiguration
- the compare configuration- Returns:
- a viewer to be placed in the outline viewer or
null
-
hasViewerFor
-
addPropertyChangeListener
-
removePropertyChangeListener
-
fireInputChange
-
getInput
-