Package org.eclipse.gmf.runtime.notation

Examples of org.eclipse.gmf.runtime.notation.View.eResource()


     * @generated
     */
    public void refresh() {
      removeDecoration();
      View view = (View) getDecoratorTarget().getAdapter(View.class);
      if (view == null || view.eResource() == null) {
        return;
      }
      EditPart editPart = (EditPart) getDecoratorTarget().getAdapter(
          EditPart.class);
      if (editPart == null || editPart.getViewer() == null) {
View Full Code Here


            rootStatus, new HashSet(), allStatuses));
    for (Iterator it = allStatuses.iterator(); it.hasNext();) {
      IConstraintStatus nextStatus = (IConstraintStatus) it.next();
      View view = OntoUML.diagram.part.OntoUMLDiagramEditorUtil.findView(
          diagramEditPart, nextStatus.getTarget(), element2ViewMap);
      addMarker(diagramEditPart.getViewer(), target, view.eResource()
          .getURIFragment(view), EMFCoreUtil.getQualifiedName(
          nextStatus.getTarget(), true), nextStatus.getMessage(),
          nextStatus.getSeverity());
    }
  }
View Full Code Here

        View view = OntoUML.diagram.part.OntoUMLDiagramEditorUtil
            .findView(diagramEditPart, element, element2ViewMap);
        addMarker(
            diagramEditPart.getViewer(),
            target,
            view.eResource().getURIFragment(view),
            EMFCoreUtil.getQualifiedName(element, true),
            nextDiagnostic.getMessage(),
            diagnosticToStatusSeverity(nextDiagnostic.getSeverity()));
      }
    }
View Full Code Here

            rootStatus, new HashSet<EObject>(), allStatuses));
    for (Iterator it = allStatuses.iterator(); it.hasNext();) {
      IConstraintStatus nextStatus = (IConstraintStatus) it.next();
      View view = DispelDiagramEditorUtil.findView(diagramEditPart,
          nextStatus.getTarget(), element2ViewMap);
      addMarker(diagramEditPart.getViewer(), target, view.eResource()
          .getURIFragment(view), EMFCoreUtil.getQualifiedName(
          nextStatus.getTarget(), true), nextStatus.getMessage(),
          nextStatus.getSeverity());
    }
  }
View Full Code Here

        View view = DispelDiagramEditorUtil.findView(diagramEditPart,
            element, element2ViewMap);
        addMarker(
            diagramEditPart.getViewer(),
            target,
            view.eResource().getURIFragment(view),
            EMFCoreUtil.getQualifiedName(element, true),
            nextDiagnostic.getMessage(),
            diagnosticToStatusSeverity(nextDiagnostic.getSeverity()));
      }
    }
View Full Code Here

            rootStatus, new HashSet<EObject>(), allStatuses));
    for (Iterator it = allStatuses.iterator(); it.hasNext();) {
      IConstraintStatus nextStatus = (IConstraintStatus) it.next();
      View view = DispelDiagramEditorUtil.findView(diagramEditPart,
          nextStatus.getTarget(), element2ViewMap);
      addMarker(diagramEditPart.getViewer(), target, view.eResource()
          .getURIFragment(view), EMFCoreUtil.getQualifiedName(
          nextStatus.getTarget(), true), nextStatus.getMessage(),
          nextStatus.getSeverity());
    }
  }
View Full Code Here

        View view = DispelDiagramEditorUtil.findView(diagramEditPart,
            element, element2ViewMap);
        addMarker(
            diagramEditPart.getViewer(),
            target,
            view.eResource().getURIFragment(view),
            EMFCoreUtil.getQualifiedName(element, true),
            nextDiagnostic.getMessage(),
            diagnosticToStatusSeverity(nextDiagnostic.getSeverity()));
      }
    }
View Full Code Here

            rootStatus, new HashSet<EObject>(), allStatuses));
    for (Iterator it = allStatuses.iterator(); it.hasNext();) {
      IConstraintStatus nextStatus = (IConstraintStatus) it.next();
      View view = DispelDiagramEditorUtil.findView(diagramEditPart,
          nextStatus.getTarget(), element2ViewMap);
      addMarker(diagramEditPart.getViewer(), target, view.eResource()
          .getURIFragment(view), EMFCoreUtil.getQualifiedName(
          nextStatus.getTarget(), true), nextStatus.getMessage(),
          nextStatus.getSeverity());
    }
  }
View Full Code Here

        View view = DispelDiagramEditorUtil.findView(diagramEditPart,
            element, element2ViewMap);
        addMarker(
            diagramEditPart.getViewer(),
            target,
            view.eResource().getURIFragment(view),
            EMFCoreUtil.getQualifiedName(element, true),
            nextDiagnostic.getMessage(),
            diagnosticToStatusSeverity(nextDiagnostic.getSeverity()));
      }
    }
View Full Code Here

            rootStatus, new HashSet(), allStatuses));
    for (Iterator it = allStatuses.iterator(); it.hasNext();) {
      IConstraintStatus nextStatus = (IConstraintStatus) it.next();
      View view = Fd2DiagramEditorUtil.findView(diagramEditPart,
          nextStatus.getTarget(), element2ViewMap);
      addMarker(diagramEditPart.getViewer(), target, view.eResource()
          .getURIFragment(view), EMFCoreUtil.getQualifiedName(
          nextStatus.getTarget(), true), nextStatus.getMessage(),
          nextStatus.getSeverity());
    }
  }
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.