use of com.archimatetool.editor.diagram.policies.BasicConnectionPolicy in project archi by archimatetool.
the class DiagramImageEditPart method createEditPolicies.
@Override
protected void createEditPolicies() {
// Allow parts to be joined together
installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new BasicConnectionPolicy());
// Add a policy to handle editing the Parts (for example, deleting a part)
installEditPolicy(EditPolicy.COMPONENT_ROLE, new PartComponentEditPolicy());
updateEditPolicies();
}
Aggregations