new ModelerCanonicalEditPolicy());
installEditPolicy(EditPolicyRoles.CREATION_ROLE,
new CreationEditPolicyWithCustomReparent(
CismodelVisualIDRegistry.TYPED_INSTANCE));
installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
new DiagramDragDropEditPolicy() {
public Command getDropObjectsCommand(
DropObjectsRequest dropRequest) {
ArrayList<CreateViewRequest.ViewDescriptor> viewDescriptors = new ArrayList<CreateViewRequest.ViewDescriptor>();
for (Iterator<?> it = dropRequest.getObjects()
.iterator(); it.hasNext();) {