Package org.useware.kernel.model.structure

Examples of org.useware.kernel.model.structure.Container


    public InteractionUnit fromXML(Node node) {

        String label = ParseUtils.IDOrLabel(node);

        QName id = new QName(node.getNamespaceURI(), node.getAttributes().getNamedItem("id").getNodeValue());
        Container tools = new Container(
                id.getNamespaceURI(), id.getLocalPart(),
                label,
                StereoTypes.Toolstrip);
        return tools;
    }
View Full Code Here


    public InteractionUnit fromXML(Node node) {

        String label = ParseUtils.IDOrLabel(node);

        QName id = new QName(node.getNamespaceURI(), node.getAttributes().getNamedItem("id").getNodeValue());
        Container form = new Container(
                id.getNamespaceURI(), id.getLocalPart(),
                label,
                TemporalOperator.Choice,
                StereoTypes.Pages);
        return form;
View Full Code Here

        String op = ParseUtils.failSafe(node.getAttributes().getNamedItem("operator"), TemporalOperator.Concurrency.toString());

        //QName id = QName.valueOf(node.getAttributes().getNamedItem("id").getNodeValue());
        QName id = new QName(node.getNamespaceURI(), node.getAttributes().getNamedItem("id").getNodeValue());

        Container properties = new Container(
                id.getNamespaceURI(), id.getLocalPart(),
                label,
                TemporalOperator.valueOf(op),
                StereoTypes.Properties);
        return properties;
View Full Code Here

        el.setAttribute("id", unit.getId().getLocalPart());
        el.setAttribute("label", unit.getLabel());

        if(unit instanceof Container)
        {
            Container container = (Container)unit;
            if(container.getTemporalOperator()!=null) {
                el.setAttribute("operator", container.getTemporalOperator().toString());
            }
        }

        return el;
    }
View Full Code Here

        String label = ParseUtils.IDOrLabel(node);

        //QName id = QName.valueOf(node.getAttributes().getNamedItem("id").getNodeValue());
        QName id = new QName(node.getNamespaceURI(), node.getAttributes().getNamedItem("id").getNodeValue());

        Container container = new Container(
                id.getNamespaceURI(), id.getLocalPart(),
                label,
                TemporalOperator.Choice,
                StereoTypes.EditorPanel);
View Full Code Here

        String label = ParseUtils.IDOrLabel(node);

        //QName id = QName.valueOf(node.getAttributes().getNamedItem("id").getNodeValue());
        QName id = new QName(node.getNamespaceURI(), node.getAttributes().getNamedItem("id").getNodeValue());

        Container form = new Container(
                id.getNamespaceURI(), id.getLocalPart(),
                label,
                TemporalOperator.Concurrency,
                StereoTypes.Form);
        return form;
View Full Code Here

TOP

Related Classes of org.useware.kernel.model.structure.Container

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.