Class OutlineViewerCreator

java.lang.Object
org.eclipse.compare.internal.OutlineViewerCreator

public abstract class OutlineViewerCreator extends Object
Class which allows content merge viewer to provide a structure viewer that can be used in the outline view.
  • Field Details

    • PROP_INPUT

      public static final String 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 structure
      input - the input
      parent - the parent composite
      configuration - the compare configuration
      Returns:
      a viewer to be placed in the outline viewer or null
    • hasViewerFor

      public abstract boolean hasViewerFor(Object input)
    • addPropertyChangeListener

      public void addPropertyChangeListener(IPropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(IPropertyChangeListener listener)
    • fireInputChange

      public void fireInputChange(Object oldInput, Object newInput)
    • getInput

      public abstract Object getInput()