/* (non-Javadoc)
   * @see org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart#createDefaultEditPolicies()
   */
  protected void createDefaultEditPolicies() {
    // node edit policy needs to be installed before connection editpolicy from the super
    // since connections of a node need to be deleted before the node
    // installEditPolicy(EditPolicy.NODE_ROLE, new NodeEditPolicy());
    super.createDefaultEditPolicies();
    installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new GraphicalNodeEditPolicy());

    // Disable note attachment reorient between two shapes where neither is a note.
    installEditPolicy(
        "NoteAttachmentReorient", //$NON-NLS-1$
        new NoteAttachmentReorientEditPolicy());
  }