content: package oscfg.diagram.edit.parts;
  
  import org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart;
  import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
  import org.eclipse.gmf.runtime.notation.View;
  
  import org.eclipse.gmf.tooling.runtime.edit.policies.reparent.CreationEditPolicyWithCustomReparent;
  import oscfg.diagram.edit.policies.ConfigurationCanonicalEditPolicy;
  import oscfg.diagram.edit.policies.ConfigurationItemSemanticEditPolicy;
  import oscfg.diagram.part.OscfgVisualIDRegistry;
  
  /**
   * @generated
   */
  public class ConfigurationEditPart extends DiagramEditPart {
  
  	/**
  	 * @generated
  	 */
  	public final static String MODEL_ID = "Oscfg"; //$NON-NLS-1$
  
  	/**
  	 * @generated
  	 */
  	public static final int VISUAL_ID = 1000;
  
  	/**
  	 * @generated
  	 */
  	public ConfigurationEditPart(View view) {
  		super(view);
  	}
  
  	/**
  	 * @generated
  	 */
  	protected void createDefaultEditPolicies() {
  		super.createDefaultEditPolicies();
  		installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
  				new ConfigurationItemSemanticEditPolicy());
  		installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
  				new ConfigurationCanonicalEditPolicy());
  		installEditPolicy(EditPolicyRoles.CREATION_ROLE,
  				new CreationEditPolicyWithCustomReparent(
  						OscfgVisualIDRegistry.TYPED_INSTANCE));
  		// removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE);
  	}
  
  }
  