Examples of DiagramDescription


Examples of net.sourceforge.plantuml.core.DiagramDescription

   }

    void sendCheck(String uml) throws IOException {
        response.setContentType(getContentType());
        SourceStringReader reader = new SourceStringReader(uml);
        DiagramDescription desc = reader.generateDiagramDescription(
            new NullOutputStream(), new FileFormatOption(FileFormat.PNG, false));
        PrintWriter httpOut = response.getWriter();
        httpOut.print(desc.getDescription());
}
View Full Code Here

Examples of org.eclipse.sirius.diagram.description.DiagramDescription

    } else if (containerView instanceof DDiagramElement) {
      representation = ((DDiagramElement)containerView).getParentDiagram();
    }
    List<EObject> results = null;
    if (representation instanceof DSemanticDiagramSpec) {
      DiagramDescription description = ((DSemanticDiagramSpec)representation).getDescription();

      if ("Block Definition Diagram".equals(description.getName())) {
        results = getValidsForBlockDefinitionDiagram(element);
      } else if ("Internal Block Diagram".equals(description.getName())) {
        results = getValidsForInternalBlockDiagram((Class)element);
      } else if ("Parametric Diagram".equals(description.getName())) {
        results = getValidsForParametricBlockDiagram((Class)element);
      } else if ("Requirement Diagram".equals(description.getName())) {
        results = getValidsForRequirementDiagram(element, (DDiagram)representation);
      }
    }

    return results;
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.