Package com.e1c.langtool.ui.tree
Interface IFeatureTree
- All Superinterfaces:
ITreeItemContainer
- All Known Implementing Classes:
FeatureTree
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeltaListener(IDeltaListener listener) Adds a listener for selection changes in this selection provider.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.Methods inherited from interface com.e1c.langtool.ui.tree.ITreeItemContainer
getChildren
-
Method Details
-
addDeltaListener
Adds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.- Parameters:
listener- a selection changed listener
-
removeDeltaListener
Removes the given selection change listener from this selection provider. Has no effect if an identical listener is not registered.- Parameters:
listener- a selection changed listener
-
getSelection
ITreeItem getSelection()Returns the current selection for this provider.- Returns:
- the current selection
-
setSelection
Sets the current selection for this selection provider.- Parameters:
selection- the new selection
-