use of com.archimatetool.editor.diagram.policies.BasicContainerEditPolicy in project archi by archimatetool.
the class CanvasDiagramPart method createEditPolicies.
@Override
protected void createEditPolicies() {
updateEditPolicies();
// Install a policy for DND support
// $NON-NLS-1$
installEditPolicy("DND", new CanvasDNDEditPolicy());
// And we need to install this Group Container Policy here as well as in the GroupEditpart
installEditPolicy(EditPolicy.CONTAINER_ROLE, new BasicContainerEditPolicy());
// Snap to Geometry feedback
// $NON-NLS-1$
installEditPolicy("Snap Feedback", new SnapFeedbackPolicy());
}
Aggregations