Package org.apache.airavata.xbaya.graph

Examples of org.apache.airavata.xbaya.graph.ControlEdge


        }
        EdgeImpl edge;
        if (toKind == Kind.DATA_IN) {
            edge = new DataEdge();
        } else if (toKind == Kind.CONTROL_IN) {
            edge = new ControlEdge();
        } else {
            // Should not happen.
            throw new XBayaRuntimeException();
        }
        return edge;
View Full Code Here


        String type = edgeElement.attributeValue(GraphSchema.NS, GraphSchema.EDGE_TYPE_ATTRIBUTE);
        EdgeImpl edge;
        if (GraphSchema.EDGE_TYPE_DATA.equals(type)) {
            edge = new DataEdge(edgeElement);
        } else if (GraphSchema.PORT_TYPE_CONTROL.equals(type)) {
            edge = new ControlEdge(edgeElement);
        } else {
            // Default is WsPort because of backword compatibility
            edge = new DataEdge(edgeElement);
        }
        return edge;
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.graph.ControlEdge

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.