Package org.apache.airavata.xbaya.component.gui

Examples of org.apache.airavata.xbaya.component.gui.ComponentTreeNode


            }

            String urlString = url.toString();
            String name = urlString.substring(urlString.lastIndexOf('/') + 1);
            URLComponentReference componentReference = new URLComponentReference(name, components);
            this.treeLeaf = new ComponentTreeNode(componentReference);

        } catch (ComponentException e) {
            e.printStackTrace();
        } catch (WsdlException e) {
            e.printStackTrace();
View Full Code Here


     *
     * @return The ComponentTree
     */
    @Override
    public ComponentTreeNode getComponentTree() {
        ComponentTreeNode tree = new ComponentTreeNode(this);
        /*
         * for (String name : this.componentMap.keySet()) { Component component = this.componentMap.get(name);
         * WSComponentReference componentReference = new WSComponentReference( name, component); tree.add(new
         * ComponentTreeNode(componentReference)); }
         */

        tree.add(this.treeLeaf);
        return tree;
    }
View Full Code Here

        for (String path : localRegistryPaths) {
            try {
                LocalComponentRegistry registry = new LocalComponentRegistry(path);
                // XXX This might take time, so it's better to move to another
                // thread.
                ComponentTreeNode componentTree = registry.getComponentTree();
                componentTreeViewer.addComponentTree(componentTree);
            } catch (ComponentRegistryException e) {
                getErrorWindow().error(ErrorMessages.COMPONENT_LIST_LOAD_ERROR, e);
            } catch (RuntimeException e) {
                getErrorWindow().error(ErrorMessages.UNEXPECTED_ERROR, e);
View Full Code Here

     * @param workflowComponent
     */
    public void addWorkflowComponent(String name, SubWorkflowComponent workflowComponent) {
        this.componentRegistry.addComponent(name, workflowComponent);
        SystemComponentReference componentReference = new SystemComponentReference(name, workflowComponent);
        this.systemComponentTree.add(new ComponentTreeNode(componentReference));
        systemComponentTree.getPath();
        ComponentSelector swingComponent = this.gui.getComponentSelector();
        swingComponent.getSwingComponent().updateUI();

    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.component.gui.ComponentTreeNode

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.