Package org.eclipse.gmf.tooling.runtime.edit.policies.reparent

Examples of org.eclipse.gmf.tooling.runtime.edit.policies.reparent.CreationEditPolicyWithCustomReparent


    installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
        new ModelerItemSemanticEditPolicy());
    installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
        new ModelerCanonicalEditPolicy());
    installEditPolicy(EditPolicyRoles.CREATION_ROLE,
        new CreationEditPolicyWithCustomReparent(
            CismodelVisualIDRegistry.TYPED_INSTANCE));
    // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE);
  }
View Full Code Here


  /**
   * @generated
   */
  protected void createDefaultEditPolicies() {
    installEditPolicy(EditPolicyRoles.CREATION_ROLE,
        new CreationEditPolicyWithCustomReparent(
            CismodelVisualIDRegistry.TYPED_INSTANCE));
    super.createDefaultEditPolicies();
    installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
        new ShipItemSemanticEditPolicy());
    installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
View Full Code Here

    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) {
View Full Code Here

TOP

Related Classes of org.eclipse.gmf.tooling.runtime.edit.policies.reparent.CreationEditPolicyWithCustomReparent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.