Class TreeExpansionEvent

    • Constructor Detail

      • TreeExpansionEvent

        public TreeExpansionEvent​(AbstractTreeViewer source,
                                  Object element)
        Creates a new event for the given source and element.
        Parameters:
        source - the tree viewer
        element - the element
    • Method Detail

      • getElement

        public Object getElement()
        Returns the element that got expanded or collapsed.
        Returns:
        the element
      • getTreeViewer

        public AbstractTreeViewer getTreeViewer()
        Returns the originator of the event.
        Returns:
        the originating tree viewer