Class StructuredContentProvider<INPUT>

All Implemented Interfaces:
EventListener, IContentProvider, IStructuredContentProvider, IListener
Direct Known Subclasses:
FactoryTypeContentProvider, ItemProvider, StaticContentProvider

public abstract class StructuredContentProvider<INPUT> extends ViewerSorter implements IStructuredContentProvider, IListener
Author:
Eike Stepper
  • Constructor Details

    • StructuredContentProvider

      public StructuredContentProvider()
  • Method Details

    • dispose

      public void dispose()
      Specified by:
      dispose in interface IContentProvider
    • getInput

      public INPUT getInput()
    • getViewer

      public StructuredViewer getViewer()
    • inputChanged

      public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
      Specified by:
      inputChanged in interface IContentProvider
    • connectInput

      protected void connectInput(INPUT input)
    • disconnectInput

      protected void disconnectInput(INPUT input)
    • notifyEvent

      public void notifyEvent(IEvent event)
      Specified by:
      notifyEvent in interface IListener
    • refreshViewer

      public void refreshViewer(boolean updateLabels)
      Since:
      3.0
    • refreshElement

      public void refreshElement(Object element, boolean updateLabels)
      Since:
      3.1
    • refreshSynced

      @Deprecated public void refreshSynced(Object element, boolean updateLabels)
      Since:
      3.1
    • updateLabels

      public void updateLabels(Object element)
      Since:
      3.1
    • revealElement

      public void revealElement(Object element)
      Since:
      3.1
    • selectElement

      public void selectElement(Object element, boolean reveal)
      Since:
      3.1
    • expandElement

      public void expandElement(Object element, int level)
      Since:
      3.3
    • getDisplay

      protected Display getDisplay()
    • getItalicFont

      protected Font getItalicFont()
      Since:
      3.1
    • getBoldFont

      protected Font getBoldFont()
      Since:
      3.3