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

Examples of org.apache.tuscany.sca.diagram.artifacts.CompositeArtifact


        return link;
    }

    private void addComposite() {

        CompositeArtifact composite = new CompositeArtifact();

        Element composi = composite.addElement(doc, svgNS, comp.getX(), comp.getY(), comp.getHeight(), comp.getWidth());
        Element text = Text.addTextElement(doc, svgNS, comp.getX() + 20, comp.getY() + 20, comp.getName());

        svgRoot.appendChild(composi);
        svgRoot.appendChild(text);

        composite.setName(comp.getName());

    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.diagram.artifacts.CompositeArtifact

Copyright © 2018 www.massapicom. 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.