super.decorateView(containerView, view, semanticAdapter, semanticHint,
index, persisted);
if (!OntoUML.diagram.edit.parts.ContainerEditPart.MODEL_ID
.equals(OntoUML.diagram.part.OntoUMLVisualIDRegistry
.getModelID(containerView))) {
EAnnotation shortcutAnnotation = EcoreFactory.eINSTANCE
.createEAnnotation();
shortcutAnnotation.setSource("Shortcut"); //$NON-NLS-1$
shortcutAnnotation
.getDetails()
.put(
"modelID", OntoUML.diagram.edit.parts.ContainerEditPart.MODEL_ID); //$NON-NLS-1$
view.getEAnnotations().add(shortcutAnnotation);
}