|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractTreeEditPart
com.pnp.xfeature.editparts.FeatureNodeTreeEditPart
public class FeatureNodeTreeEditPart
Editpart that controls nodes of tree outline view.
| Constructor Summary | |
|---|---|
FeatureNodeTreeEditPart(FeatureNodeModel model)
cals superclass implementation |
|
| Method Summary | |
|---|---|
void |
activate()
Upon activation, attach to the model element as a property change listener. |
boolean |
addChildNode(FeatureNodeModel fnm)
traverses the tree to find the FeatureDiagramTreeEditPart with model that has id equal to parentId and adds the paremeter to the tree as a child of this edit part |
void |
deactivate()
Upon deactivation, detach from the model element as a property change listener. |
FeatureNodeModel |
getCastedModel()
return the the featre model typed as FeatureNodeModel |
void |
propertyChange(java.beans.PropertyChangeEvent event)
updates the tree item on name change or on insertion of new node |
boolean |
removeChildNode(FeatureNodeModel fnm)
traverse the tree to find the FeatureDiagramTreeEditPart with model that has id equal to parentId and removes this feature node |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureNodeTreeEditPart(FeatureNodeModel model)
| Method Detail |
|---|
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerPropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)public void activate()
public void deactivate()
public FeatureNodeModel getCastedModel()
public boolean addChildNode(FeatureNodeModel fnm)
public boolean removeChildNode(FeatureNodeModel fnm)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||