Examples of ComponentTreeNode


Examples of org.apache.airavata.xbaya.ui.widgets.component.ComponentTreeNode

import org.apache.airavata.xbaya.ui.widgets.component.ComponentTreeNode;

public class ComponentController {

  public static ComponentTreeNode getComponentTree(ComponentRegistry registry) throws ComponentRegistryException {
    ComponentTreeNode tree = new ComponentTreeNode(registry);
    addComponentReferencesToTree(tree, registry.getComponentReferenceList());
    return tree;
  }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.component.ComponentTreeNode

  }

  private static void addComponentReferencesToTree(ComponentTreeNode tree,
      List<ComponentReference> componentReferenceList) {
    for (ComponentReference componentReference : componentReferenceList) {
      ComponentTreeNode componentTreeNode = new ComponentTreeNode(componentReference);
      if (componentReference.isParentComponent()){
        addComponentReferencesToTree(componentTreeNode, componentReference.getChildComponentReferences());
      }
      tree.add(componentTreeNode);
    }
View Full Code Here

Examples of org.onemind.swingweb.console.ComponentTreeNodeCreator.ComponentTreeNode

    /**
     * {@inheritDoc}
     */
    public void valueChanged(TreeSelectionEvent e)
    {
        ComponentTreeNode node = (ComponentTreeNode) e.getPath().getLastPathComponent();
        if (node != null)
        {
            Component com = node.getComponent();
            Map info = new LinkedHashMap();
            info.put("Component toString()", com.toString());
            info.put("Component class", com.getClass());
            info.put("Component name", com.getName());
            info.put("Component bounds", com.getBounds());
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.