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

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


    }

    private void addLayer() {

        Layer outerLayer = new Layer();
        Element layerElt = outerLayer.addElement(doc, svgNS, 0, 0, getDiagramHeight(), getDiagramWidth());
        svgRoot.appendChild(layerElt);
    }

    private void addReferencePromotion() {
View Full Code Here


            int x0 = comp.getX() + constant;
            int y0 = comp.getY() + comp.getHeight() - (80 + constant);
            int height = 80;
            int width = comp.getWidth() - constant * 2;

            Element layerElt = inclusionLayer.addElement(doc, svgNS, x0, y0, height, width);

            Element text = Text.addTextElement(doc, svgNS, x0 + constant, y0 + constant * 2, "Included Composites: ");

            svgRoot.appendChild(layerElt);
            svgRoot.appendChild(text);
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.