Class AbstractFilteredSelectionComposite<T extends org.eclipse.jface.viewers.StructuredViewer>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void collapsViewer()
      Subclasses can redefine the collaps behavior of the viewer.
      org.eclipse.swt.widgets.Composite createUI​(org.eclipse.swt.widgets.Composite parent)
      This method creates a UI bundled into a Composite that can be used anywhere.
      protected abstract T createViewer​(org.eclipse.swt.widgets.Composite composite)
      Creates a StructuredViewer on top of the provided Composite.
      protected void expandViewer()
      Subclasses can redefine the expand behavior of the viewer.
      protected abstract ECPViewerFilter getFilter()
      Returns a Filter to use.
      java.lang.Object[] getSelection()
      Returns the selected objects.
      T getViewer()
      Returns the used StructuredViewer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractFilteredSelectionComposite

        public AbstractFilteredSelectionComposite()
        Default Constructor.
    • Method Detail

      • createUI

        public org.eclipse.swt.widgets.Composite createUI​(org.eclipse.swt.widgets.Composite parent)
        This method creates a UI bundled into a Composite that can be used anywhere.
        Specified by:
        createUI in interface CompositeProvider
        Parameters:
        parent - the parent Composite
        Returns:
        the created Composite
      • expandViewer

        protected void expandViewer()
        Subclasses can redefine the expand behavior of the viewer.
      • collapsViewer

        protected void collapsViewer()
        Subclasses can redefine the collaps behavior of the viewer.
      • getViewer

        public T getViewer()
        Returns the used StructuredViewer.
        Returns:
        the viewer
      • getSelection

        public java.lang.Object[] getSelection()
        Returns the selected objects.
        Returns:
        the selection
      • createViewer

        protected abstract T createViewer​(org.eclipse.swt.widgets.Composite composite)
        Creates a StructuredViewer on top of the provided Composite. The result is the created StructuredViewer.
        Parameters:
        composite - the Composite to create the viewer on
        Returns:
        the created StructuredViewer