Class InternalRelationship
java.lang.Object
org.eclipse.zest.layouts.dataStructures.InternalRelationship
- All Implemented Interfaces:
LayoutItem,LayoutRelationship
@Deprecated(since="2.0",
forRemoval=true)
public class InternalRelationship
extends Object
implements LayoutRelationship
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used in Zest 2.x. This class will be removed in a
future release.
- @noextend
- This class is not intended to be subclassed by clients.
- @noreference
- This class is not intended to be referenced by clients.
- @noinstantiate
- This class is not intended to be instantiated by clients.
-
Constructor Summary
ConstructorsConstructorDescriptionInternalRelationship(LayoutRelationship externalRelationship, InternalNode source, InternalNode destination) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBendPoint(double x, double y) Deprecated.voidaddBendPoint(double x, double y, boolean isControlPoint) Deprecated.voidDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.doubleDeprecated.booleanDeprecated.voidpopulateLayoutConstraint(LayoutConstraint constraint) Deprecated.voidsetBendPoints(LayoutBendPoint[] bendPoints) Deprecated.voidDeprecated.voidsetLayoutInformation(Object layoutInformation) Deprecated.
-
Constructor Details
-
InternalRelationship
@Deprecated public InternalRelationship(LayoutRelationship externalRelationship, InternalNode source, InternalNode destination) Deprecated.
-
-
Method Details
-
getLayoutRelationship
Deprecated. -
getSource
Deprecated. -
getDestination
Deprecated. -
getWeight
Deprecated. -
isBidirectional
Deprecated. -
addBendPoint
Deprecated.Ensure this is called in order of source to target node position.- Parameters:
x-y-
-
addBendPoint
Deprecated.Ensure this is called in order of source to target node position. Specifies if the bendpoint is a curve control point- Parameters:
x-y-isControlPoint-
-
getBendPoints
Deprecated. -
clearBendPoints
Deprecated.Description copied from interface:LayoutRelationshipClear bend points and related bounds If you are updating an existing application you can just implement this method to do nothing.- Specified by:
clearBendPointsin interfaceLayoutRelationship
-
getDestinationInLayout
Deprecated.Description copied from interface:LayoutRelationshipGets the destinationEntity of this SimpleRelation whether the relation is exchangeable or not.- Specified by:
getDestinationInLayoutin interfaceLayoutRelationship- Returns:
- The destinationEntity of this SimpleRelation.
-
getLayoutInformation
Deprecated.Description copied from interface:LayoutRelationshipReturns the internal relationship object.- Specified by:
getLayoutInformationin interfaceLayoutRelationship- Returns:
- Object
-
getSourceInLayout
Deprecated.Description copied from interface:LayoutRelationshipGets the sourceEntity of this SimpleRelation whether the relation is exchangeable or not.- Specified by:
getSourceInLayoutin interfaceLayoutRelationship- Returns:
- The sourceEntity.
-
populateLayoutConstraint
Deprecated.Description copied from interface:LayoutRelationshipClasses should update the specified layout constraint if recognized- Specified by:
populateLayoutConstraintin interfaceLayoutRelationship
-
setBendPoints
Deprecated.Description copied from interface:LayoutRelationshipSpecify a set of bend points. The layout algorithm using this will pass in an empty array of bendPoints, or not even call this method, if there are no bend points associated with this edge. If you are updating an existing application you can just implement this method to do nothing.- Specified by:
setBendPointsin interfaceLayoutRelationship- Parameters:
bendPoints- A list of bend points. All bendpoint locations are expressed as percentages of the bounds (0,0 to 1,1).The first bendpoint in the list must be the source point of this relationship and the last bendpoint the destination point for this relationship. This allows the correct positioning of bendpoints relative to the source and destination points when drawing the graph.
-
setLayoutInformation
Deprecated.Description copied from interface:LayoutRelationshipSets the internal relationship object.- Specified by:
setLayoutInformationin interfaceLayoutRelationship- Parameters:
layoutInformation-
-
getGraphData
Deprecated.- Specified by:
getGraphDatain interfaceLayoutItem
-
setGraphData
Deprecated.- Specified by:
setGraphDatain interfaceLayoutItem
-