Class 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


      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.
      oldViewer - the current viewer that is being used to show the structure
      input - the input
      parent - the parent composite
      configuration - the compare configuration
      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()