use of org.eclipse.zest.layouts.constraints.BasicEdgeConstraints in project archi by archimatetool.
the class SimpleRelationship method populateLayoutConstraint.
/**
* Populate the specified layout constraint
*/
@Override
public void populateLayoutConstraint(LayoutConstraint constraint) {
if (constraint instanceof LabelLayoutConstraint) {
LabelLayoutConstraint labelConstraint = (LabelLayoutConstraint) constraint;
labelConstraint.label = this.label;
labelConstraint.pointSize = 18;
} else if (constraint instanceof BasicEdgeConstraints) {
// noop
}
}
Aggregations