/** @generated */
 @Override
 public IParser getParser() {
   if (parser == null) {
     parser =
         UMLParserProvider.getParser(
             UMLElementTypes.InteractionUse_3002,
             getParserElement(),
             UMLVisualIDRegistry.getType(
                 org.eclipse.papyrus.uml.diagram.sequence.edit.parts.InteractionUseNameEditPart
                     .VISUAL_ID));
   }
   return parser;
 }
 /** @generated */
 private String getGeneralOrdering_4012Text(View view) {
   IParser parser =
       UMLParserProvider.getParser(
           UMLElementTypes.GeneralOrdering_4012,
           view.getElement() != null ? view.getElement() : view,
           UMLVisualIDRegistry.getType(GeneralOrderingAppliedStereotypeEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     UMLDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 6015); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getMessage_4009Text(View view) {
   IParser parser =
       UMLParserProvider.getParser(
           UMLElementTypes.Message_4009,
           view.getElement() != null ? view.getElement() : view,
           UMLVisualIDRegistry.getType(MessageName7EditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     UMLDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 6007); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }