/** @generated NOT */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new SceneItemSemanticEditPolicy());
   installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
   // XXX need an SCR to runtime to have another abstract superclass that would let children add
   // reasonable editpolicies
   // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
 }
 /** @generated NOT */
 protected void createDefaultEditPolicies() {
   installEditPolicy(EditPolicyRoles.CREATION_ROLE, new CreationEditPolicy());
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new RegionItemSemanticEditPolicy());
   installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new DragDropEditPolicy());
   installEditPolicy(EditPolicyRoles.CANONICAL_ROLE, new RegionCanonicalEditPolicy());
   installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
   // installEditPolicy(EditPolicyRoles.OPEN_ROLE,
   //	new OpenDiagramEditPolicy());
   // XXX need an SCR to runtime to have another abstract superclass that would let children add
   // reasonable editpolicies
   removeEditPolicy(
       org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
 }
 /** @generated */
 protected void createDefaultEditPolicies() {
   installEditPolicy(
       EditPolicyRoles.CREATION_ROLE,
       new CreationEditPolicyWithCustomReparent(
           stateAnalysis.diagram.part.StateAnalysisVisualIDRegistry.TYPED_INSTANCE));
   super.createDefaultEditPolicies();
   installEditPolicy(
       EditPolicyRoles.SEMANTIC_ROLE,
       new stateAnalysis.diagram.edit.policies.StateVariable2ItemSemanticEditPolicy());
   installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
   installEditPolicy(
       EditPolicyRoles.OPEN_ROLE, new stateAnalysis.diagram.edit.policies.OpenDiagramEditPolicy());
   // XXX need an SCR to runtime to have another abstract superclass that would let children add
   // reasonable editpolicies
   // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
 }
 /** @generated NOT */
 protected void createDefaultEditPolicies() {
   installEditPolicy(
       EditPolicyRoles.CREATION_ROLE,
       new CreationEditPolicyWithCustomReparent(
           dataMapper.diagram.part.DataMapperVisualIDRegistry.TYPED_INSTANCE));
   super.createDefaultEditPolicies();
   installEditPolicy(
       EditPolicyRoles.SEMANTIC_ROLE,
       new dataMapper.diagram.edit.policies.InputItemSemanticEditPolicy());
   installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new DragDropEditPolicy());
   installEditPolicy(
       EditPolicyRoles.CANONICAL_ROLE,
       new dataMapper.diagram.edit.policies.InputCanonicalEditPolicy());
   installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
   removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE);
 }
  /** @generated */
  protected void createDefaultEditPolicies() {

    installEditPolicy(EditPolicyRoles.CREATION_ROLE, new CreationEditPolicy());
    super.createDefaultEditPolicies();
    installEditPolicy(
        EditPolicyRoles.SEMANTIC_ROLE,
        new de.uni_mannheim.informatik.swt.models.plm.diagram.edit.policies
            .MethodItemSemanticEditPolicy());
    installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new DragDropEditPolicy());
    installEditPolicy(
        EditPolicyRoles.CANONICAL_ROLE,
        new de.uni_mannheim.informatik.swt.models.plm.diagram.edit.policies
            .MethodCanonicalEditPolicy());
    installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
    // XXX need an SCR to runtime to have another abstract superclass that would let children add
    // reasonable editpolicies
    // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);

  }
Example #6
0
 /** @generated */
 protected void createDefaultEditPolicies() {
   installEditPolicy(
       EditPolicyRoles.CREATION_ROLE,
       new CreationEditPolicyWithCustomReparent(
           edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.part
               .ICSE15_SequenceDiagram_MAVOVisualIDRegistry.TYPED_INSTANCE));
   super.createDefaultEditPolicies();
   installEditPolicy(
       EditPolicyRoles.SEMANTIC_ROLE,
       new edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.edit.policies
           .ClassItemSemanticEditPolicy());
   installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
   installEditPolicy(
       EditPolicyRoles.OPEN_ROLE,
       new edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.edit.policies
           .OpenDiagramEditPolicy()); // XXX need an SCR to runtime to have another abstract
   // superclass that would let children add reasonable
   // editpolicies
   // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
 }