Examples of EAnnotation


Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

   * @generated
   */
  public static String getModelID(View view) {
    View diagram = view.getDiagram();
    while (view != diagram) {
      EAnnotation annotation = view.getEAnnotation("Shortcut"); //$NON-NLS-1$
      if (annotation != null) {
        return (String) annotation.getDetails().get("modelID"); //$NON-NLS-1$
      }
      view = (View) view.eContainer();
    }
    return diagram != null ? diagram.getType() : null;
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.EAnnotation

    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);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.