installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
new ModelerItemSemanticEditPolicy());
installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
new ModelerCanonicalEditPolicy());
installEditPolicy(EditPolicyRoles.CREATION_ROLE,
new CreationEditPolicyWithCustomReparent(
CismodelVisualIDRegistry.TYPED_INSTANCE));
installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
new DiagramDragDropEditPolicy() {
public Command getDropObjectsCommand(
DropObjectsRequest dropRequest) {