Class FeatureTree

java.lang.Object
com.e1c.langtool.ui.tree.FeatureTree
All Implemented Interfaces:
IFeatureTree, ITreeItemContainer

public class FeatureTree extends Object implements IFeatureTree
  • Constructor Details

    • FeatureTree

      public FeatureTree()
  • Method Details

    • getChildren

      public List<ITreeItem> getChildren()
      Specified by:
      getChildren in interface ITreeItemContainer
    • getSelection

      public ITreeItem getSelection()
      Description copied from interface: IFeatureTree
      Returns the current selection for this provider.
      Specified by:
      getSelection in interface IFeatureTree
      Returns:
      the current selection
    • setSelection

      public void setSelection(ITreeItem selectedValue)
      Description copied from interface: IFeatureTree
      Sets the current selection for this selection provider.
      Specified by:
      setSelection in interface IFeatureTree
    • addDeltaListener

      public void addDeltaListener(IDeltaListener listener)
      Description copied from interface: IFeatureTree
      Adds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.
      Specified by:
      addDeltaListener in interface IFeatureTree
      Parameters:
      listener - a selection changed listener
    • removeDeltaListener

      public void removeDeltaListener(IDeltaListener listener)
      Description copied from interface: IFeatureTree
      Removes the given selection change listener from this selection provider. Has no effect if an identical listener is not registered.
      Specified by:
      removeDeltaListener in interface IFeatureTree
      Parameters:
      listener - a selection changed listener
    • fireSelectionChanged

      protected void fireSelectionChanged(DeltaChangedEvent event)
      Notifies any selection changed listeners that the viewer's selection has changed. Only listeners registered at the time this method is called are notified.
      Parameters:
      event - a selection changed event
      See Also: