Package org.apache.tuscany.sca.diagram.artifacts

Examples of org.apache.tuscany.sca.diagram.artifacts.ComponentArtifact.addElement()


    private void addComponent(Entity ent) {

        ComponentArtifact comp = new ComponentArtifact();
        //System.err.println(ent.getX());
        Element com = comp.addElement(doc, svgNS, ent.getX(), ent.getY(), ent.getHeight(), ent.getWidth());

        Element component = com;
        if (baseURL != null) {
            String url = baseURL + "/components/" + ent.getName();
            component = createLink(com, url);
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.