/** @generated */
 public IParser getParser() {
   if (parser == null) {
     parser =
         UMLParserProvider.getParser(
             UMLElementTypes.Constraint_2005,
             getParserElement(),
             UMLVisualIDRegistry.getType(
                 org.eclipse.papyrus.uml.diagram.deployment.edit.parts
                     .ConstraintSpecificationEditPart.VISUAL_ID));
   }
   return parser;
 }
 /** @generated */
 public EditPart getPrimaryChildEditPart() {
   return getChildBySemanticHint(UMLVisualIDRegistry.getType(ModelNameEditPartCN.VISUAL_ID));
 }
 /** @generated */
 @Override
 public EditPart getPrimaryChildEditPart() {
   return getChildBySemanticHint(UMLVisualIDRegistry.getType(ConstraintNameEditPart.VISUAL_ID));
 }