public class TransformEdgePolicy extends FXTransformConnectionPolicy
TransformEdgePolicy is a specialization of the
FXTransformConnectionPolicy that chains a
ChangeAttributeOperation to affect the underlying model when
transforming nodes. It is applicable to IContentPart's with a
Connection visual and Edge content.TRANSFORM_PROVIDER_KEY| Constructor and Description |
|---|
TransformEdgePolicy() |
| Modifier and Type | Method and Description |
|---|---|
ITransactionalOperation |
commit() |
protected Edge |
getEdge()
Returns the
Edge content element of the host part. |
IContentPart<javafx.scene.Node,? extends Connection> |
getHost() |
applyTransform, getBendOperation, getIndicesOfMovableAnchors, initcreateOperation, getCurrentNodeTransform, getTransformOperation, updateOperationcreatePostTransform, createPreTransform, getInitialNodeTransform, getSnapToGridOffset, setPostRotate, setPostScale, setPostTransform, setPostTranslate, setPreRotate, setPreScale, setPreTransform, setPreTranslate, setTransform, updateTransformcheckInitialized, getOperation, isInitialized, locallyExecuteOperation, rollbackgetAdaptable, setAdaptablepublic ITransactionalOperation commit()
commit in class FXTransformConnectionPolicyprotected Edge getEdge()
Edge content element of the host part.Edge content element.public IContentPart<javafx.scene.Node,? extends Connection> getHost()
getHost in interface IPolicy<javafx.scene.Node>getHost in class AbstractPolicy<javafx.scene.Node>Copyright (c) 2014 itemis AG and others. All rights reserved.