|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractGraphicalEditPart
com.pnp.xfeature.editparts.AbstractComponentEditPart
com.pnp.xfeature.editparts.FeatureNodeEditPart
public class FeatureNodeEditPart
Editpart that controls nodes.
| Constructor Summary | |
|---|---|
FeatureNodeEditPart()
|
|
| Method Summary | |
|---|---|
void |
activate()
adds property change listener for every connection that target this node |
void |
deactivate()
removes the listner |
FeatureNodeModel |
getCastedModel()
return the the featre model typed as FeatureNodeModel |
FeatureNodeEditPart |
getModelParentEditPart()
returns editpart of the parent (in a model logic) node |
ConnectionAnchor |
getSourceConnectionAnchor(ConnectionEditPart connection)
Returns the source connection anchor, i.e. the lower anchor, coming out of this node towards children |
ConnectionAnchor |
getSourceConnectionAnchor(Request request)
Overloaded (see getSourceConnectionAnchor) |
ConnectionAnchor |
getTargetConnectionAnchor(ConnectionEditPart connection)
Returns the target connection anchor, i.e. the upper anchor, coming out of this node towards parent |
ConnectionAnchor |
getTargetConnectionAnchor(Request request)
Overloaded (see getTargetConnectionAnchor) |
void |
performRequest(Request req)
perform the DirectEdit request |
void |
propertyChange(java.beans.PropertyChangeEvent event)
refreshes tha canvas and connections on node change |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureNodeEditPart()
| Method Detail |
|---|
public void activate()
activate in class AbstractComponentEditPartorg.eclipse.gef.EditPart#activate()public void deactivate()
deactivate in class AbstractComponentEditPartorg.eclipse.gef.EditPart#deactivate()public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class AbstractComponentEditPartPropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)public void performRequest(Request req)
org.eclipse.gef.EditPart#performRequest(org.eclipse.gef.Request)public ConnectionAnchor getSourceConnectionAnchor(ConnectionEditPart connection)
public ConnectionAnchor getSourceConnectionAnchor(Request request)
public ConnectionAnchor getTargetConnectionAnchor(ConnectionEditPart connection)
public ConnectionAnchor getTargetConnectionAnchor(Request request)
public FeatureNodeModel getCastedModel()
public FeatureNodeEditPart getModelParentEditPart()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||