Class LookupConnection
java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.model.impl.LookupConnection
- All Implemented Interfaces:
Connection
This implementation of Connection doesn't actually store the AnchorPoint objects themselves, instead, it stores the
block ids and anchor point ids. Then it looks these things up on retrieval. This way it is resistant to anchorpoints
that get regenerated (for block UIs that are dynamic)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BlockDiagramModel
protected final AnchorPointId
protected final AnchorPointId
-
Constructor Summary
ConstructorsConstructorDescriptionLookupConnection
(BlockDiagramModel model, AnchorPoint origin, AnchorPoint terminus) LookupConnection
(BlockDiagramModel model, AnchorPointId origin, AnchorPointId terminus) -
Method Summary
-
Field Details
-
model
-
origin
-
terminus
-
-
Constructor Details
-
LookupConnection
-
LookupConnection
-
-
Method Details
-
getOrigin
- Specified by:
getOrigin
in interfaceConnection
- Returns:
- The origin anchorpoint. May return null if this connection is no longer valid.
-
getTerminus
- Specified by:
getTerminus
in interfaceConnection
- Returns:
- The terminus anchorpoint. May return null if this connection is no longer valid.
-