Package com.e1c.langtool.ui.tree
Class FeatureTree
java.lang.Object
com.e1c.langtool.ui.tree.FeatureTree
- All Implemented Interfaces:
IFeatureTree,ITreeItemContainer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeltaListener(IDeltaListener listener) Adds a listener for selection changes in this selection provider.protected voidNotifies any selection changed listeners that the viewer's selection has changed.Returns the current selection for this provider.voidremoveDeltaListener(IDeltaListener listener) Removes the given selection change listener from this selection provider.voidsetSelection(ITreeItem selectedValue) Sets the current selection for this selection provider.
-
Constructor Details
-
FeatureTree
public FeatureTree()
-
-
Method Details
-
getChildren
- Specified by:
getChildrenin interfaceITreeItemContainer
-
getSelection
Description copied from interface:IFeatureTreeReturns the current selection for this provider.- Specified by:
getSelectionin interfaceIFeatureTree- Returns:
- the current selection
-
setSelection
Description copied from interface:IFeatureTreeSets the current selection for this selection provider.- Specified by:
setSelectionin interfaceIFeatureTree
-
addDeltaListener
Description copied from interface:IFeatureTreeAdds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.- Specified by:
addDeltaListenerin interfaceIFeatureTree- Parameters:
listener- a selection changed listener
-
removeDeltaListener
Description copied from interface:IFeatureTreeRemoves the given selection change listener from this selection provider. Has no effect if an identical listener is not registered.- Specified by:
removeDeltaListenerin interfaceIFeatureTree- Parameters:
listener- a selection changed listener
-
fireSelectionChanged
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:
-