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
FieldsModifier and TypeFieldDescriptionstatic final StringProperty constant that identifies the input of the outline view. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract ViewerfindStructureViewer(Viewer oldViewer, ICompareInput input, Composite parent, CompareConfiguration configuration) Method called by the editor to create a structure viewer for the current content merge viewer.voidfireInputChange(Object oldInput, Object newInput) abstract ObjectgetInput()abstract booleanhasViewerFor(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
-