IAdaptable hintAdapter = new OntoUML.diagram.providers.OntoUMLParserProvider.HintAdapter(
OntoUML.diagram.providers.OntoUMLElementTypes.BinaryAssociationAtom_4015,
(view.getElement() != null ? view.getElement() : view),
OntoUML.diagram.part.OntoUMLVisualIDRegistry
.getType(OntoUML.diagram.edit.parts.BinaryAssociationAtomNameEditPart.VISUAL_ID));
IParser parser = ParserService.getInstance().getParser(hintAdapter);
if (parser != null) {
return parser.getPrintString(hintAdapter, ParserOptions.NONE
.intValue());
} else {
OntoUML.diagram.part.OntoUMLDiagramEditorPlugin.getInstance()
.logError("Parser was not found for label " + 6019); //$NON-NLS-1$
return ""; //$NON-NLS-1$