/** @generated */
  private String getLabelMapping_3003Text(View view) {
    IParser parser =
        ParserService.getInstance()
            .getParser(
                new IAdaptable() {

                  public Object getAdapter(Class adapter) {
                    if (String.class.equals(adapter)) {
                      return GMFMapVisualIDRegistry.getType(LabelMapping2EditPart.VISUAL_ID);
                    }
                    if (IElementType.class.equals(adapter)) {
                      return GMFMapElementTypes.LabelMapping_3003;
                    }
                    return null;
                  }
                });
    if (parser != null) {
      return parser.getPrintString(
          new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
          ParserOptions.NONE.intValue());
    } else {
      GMFMapDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 3003);
      return "";
    }
  }
 /** @generated */
 private String getProject_2003Text(View view) {
   IParser parser =
       TOEParserProvider.getParser(
           TOEElementTypes.Project_2003,
           view.getElement() != null ? view.getElement() : view,
           TOEVisualIDRegistry.getType(ProjectNameEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     TOEDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 5009); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getPersistentTable_2009Text(View view) {
   IParser parser =
       DatamodelerParserProvider.getParser(
           DatamodelerElementTypes.PersistentTable_2009,
           view.getElement() != null ? view.getElement() : view,
           DatamodelerVisualIDRegistry.getType(PersistentTableNameEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     DatamodelerDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 5004); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getForeignKey_4001Text(View view) {
   IParser parser =
       DatamodelerParserProvider.getParser(
           DatamodelerElementTypes.ForeignKey_4001,
           view.getElement() != null ? view.getElement() : view,
           DatamodelerVisualIDRegistry.getType(RelationshipForeignKeyEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     DatamodelerDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 6001); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getGeneralization_4010Text(View view) {
   IParser parser =
       UMLParserProvider.getParser(
           UMLElementTypes.Generalization_4010,
           view.getElement() != null ? view.getElement() : view,
           UMLVisualIDRegistry.getType(GeneralizationAppliedStereotypeEditPart.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 " + 6032); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getPackageImport_4019Text(View view) {
   IParser parser =
       UMLParserProvider.getParser(
           UMLElementTypes.PackageImport_4019,
           view.getElement() != null ? view.getElement() : view,
           UMLVisualIDRegistry.getType(PackageImportVisibilityEditPart.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 " + 6017); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getActor_3018Text(View view) {
   IParser parser =
       UMLParserProvider.getParser(
           UMLElementTypes.Actor_3018,
           view.getElement() != null ? view.getElement() : view,
           UMLVisualIDRegistry.getType(ActorInComponentNameEditPart.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 " + 5031); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getUseCase_2014Text(View view) {
   IParser parser =
       UMLParserProvider.getParser(
           UMLElementTypes.UseCase_2014,
           view.getElement() != null ? view.getElement() : view,
           UMLVisualIDRegistry.getType(UseCaseAsRectangleNameEditPartTN.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 " + 5017); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getComposition_4012Text(View view) {
   IParser parser =
       ClassParserProvider.getParser(
           ClassElementTypes.Composition_4012,
           view.getElement() != null ? view.getElement() : view,
           ClassVisualIDRegistry.getType(CompositionTarNameEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     ClassDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 6010); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getGoku_2003Text(View view) {
   IParser parser =
       BreezeModel.diagram.providers.BreezeParserProvider.getParser(
           BreezeModel.diagram.providers.BreezeElementTypes.Goku_2003,
           view.getElement() != null ? view.getElement() : view,
           BreezeModel.diagram.part.BreezeVisualIDRegistry.getType(
               BreezeModel.diagram.edit.parts.GokuDocumentationPowerEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     BreezeModel.diagram
         .part
         .BreezeDiagramEditorPlugin
         .getInstance()
         .logError("Parser was not found for label " + 5014); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
  /** @generated */
  private String getArcToEvent_3002Text(View view) {
    IAdaptable hintAdapter =
        new hub.top.adaptiveSystem.diagram.providers.AdaptiveSystemParserProvider.HintAdapter(
            hub.top.adaptiveSystem.diagram.providers.AdaptiveSystemElementTypes.ArcToEvent_3002,
            (view.getElement() != null ? view.getElement() : view),
            hub.top.adaptiveSystem.diagram.part.AdaptiveSystemVisualIDRegistry.getType(
                hub.top.adaptiveSystem.diagram.edit.parts.ArcToEventWeightEditPart.VISUAL_ID));
    IParser parser = ParserService.getInstance().getParser(hintAdapter);

    if (parser != null) {
      return parser.getPrintString(hintAdapter, ParserOptions.NONE.intValue());
    } else {
      hub.top
          .adaptiveSystem
          .diagram
          .part
          .AdaptiveSystemDiagramEditorPlugin
          .getInstance()
          .logError("Parser was not found for label " + 6002); // $NON-NLS-1$
      return ""; //$NON-NLS-1$
    }
  }