package brn.gui.linktable.diagram.edit.parts;

import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
import org.eclipse.gmf.runtime.notation.View;
import brn.gui.linktable.diagram.edit.policies.GraphCanonicalEditPolicy;
import brn.gui.linktable.diagram.edit.policies.GraphItemSemanticEditPolicy;

import org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart;

/**
 * @generated
 */
public class GraphEditPart extends DiagramEditPart {

  /**
   * @generated
   */
  public static String MODEL_ID = "LinkTableModel"; //$NON-NLS-1$

  /**
   * @generated
   */
  public static final int VISUAL_ID = 79;

  /**
   * @generated
   */
  public GraphEditPart(View view) {
    super(view);
  }

  /**
   * @generated
   */
  protected void createDefaultEditPolicies() {
    super.createDefaultEditPolicies();
    installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
        new GraphItemSemanticEditPolicy());
    installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
        new GraphCanonicalEditPolicy());
  }
}
