|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jpt.utility.model.listener.TreeChangeAdapter
public class TreeChangeAdapter
Convenience implementation of TreeChangeListener. Provisional API: This class is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
TreeChangeAdapter()
Default constructor. |
Method Summary | |
---|---|
void |
nodeAdded(TreeChangeEvent event)
This method gets called when a node is added to a bound tree. |
void |
nodeRemoved(TreeChangeEvent event)
This method gets called when a node is removed from a bound tree. |
void |
treeChanged(TreeChangeEvent event)
This method gets called when a portion of a bound tree is changed in a manner that is not easily characterized by the other methods in this interface. |
void |
treeCleared(TreeChangeEvent event)
This method gets called when a bound tree is cleared. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeChangeAdapter()
Method Detail |
---|
public void nodeAdded(TreeChangeEvent event)
TreeChangeListener
nodeAdded
in interface TreeChangeListener
event
- A TreeChangeEvent describing the event source,
the tree that changed, and the path to the node that was added.public void nodeRemoved(TreeChangeEvent event)
TreeChangeListener
nodeRemoved
in interface TreeChangeListener
event
- A TreeChangeEvent describing the event source,
the tree that changed, and the path to the node that was removed.public void treeCleared(TreeChangeEvent event)
TreeChangeListener
treeCleared
in interface TreeChangeListener
event
- A TreeChangeEvent describing the event source,
the tree that changed, and an empty path.public void treeChanged(TreeChangeEvent event)
TreeChangeListener
treeChanged
in interface TreeChangeListener
event
- A TreeChangeEvent describing the event source,
the tree that changed, and the path to the branch of the
tree that changed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |