Package org.gradle.gradleplugin.userinterface.swing.generic

Examples of org.gradle.gradleplugin.userinterface.swing.generic.TaskTreeComponent$Interaction


    for (Object o : getNodes())
    {
      Node node = (Node) o;

      Interaction inter = null;

      if (node instanceof ChbConversion)
      {
        inter = ((ChbConversion) node).getConversion();
      }
      else if (node instanceof ChbControl)
      {
        inter = ((ChbControl) node).getControl();
      }
      else if (node instanceof Hub)
      {
        inter = ((Hub) node).getInteraction();
      }

      if (inter != null)
      {
        if (!interactionMap.containsKey(inter))
        {
          interactionMap.put(inter, new ArrayList<GraphObject>());
        }
        interactionMap.get(inter).add(node);
      }
    }

    for (Object o : getEdges())
    {
      Interaction inter = null;

      if (o instanceof NonModulatedEffector)
      {
        inter = ((NonModulatedEffector) o).getControl();
      }
View Full Code Here


        return panel;
    }

    private Component createTreePanel() {
        treeComponent = new TaskTreeComponent(gradlePluginLord, new TaskTreeComponent.Interaction() {
            public void rightClick(JTree tree, int x, int y) {
                enableThingsAppropriately();
                popupMenu.show(tree, x, y);
            }
View Full Code Here

        return panel;
    }

    private Component createTreePanel() {
        treeComponent = new TaskTreeComponent(gradlePluginLord, new TaskTreeComponent.Interaction() {
            public void rightClick(JTree tree, int x, int y) {
                enableThingsAppropriately();
                popupMenu.show(tree, x, y);
            }
View Full Code Here

TOP

Related Classes of org.gradle.gradleplugin.userinterface.swing.generic.TaskTreeComponent$Interaction

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.