Examples of HorizontalTreeLayoutAlgorithm


Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

      public String getText() {
        return TREE_LAYOUT_ACTION_ID;
      }
    };

    horizontalTreeLayoutAction = new LayoutAction(this.workbenchPart, new HorizontalTreeLayoutAlgorithm(
        LayoutStyles.NO_LAYOUT_NODE_RESIZING)) {

      /**
       * @see org.eclipse.jface.action.Action#getId()
       */
 
View Full Code Here

Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

      SwingUtilities.invokeAndWait(new Runnable() {

        public void run() {
          SPRING = new SpringLayoutAlgorithm(LayoutStyles.NONE);
          TREE_VERT = new TreeLayoutAlgorithm(LayoutStyles.NONE);
          TREE_HORIZ = new HorizontalTreeLayoutAlgorithm(LayoutStyles.NONE);
          RADIAL = new RadialLayoutAlgorithm(LayoutStyles.NONE);
          GRID = new GridLayoutAlgorithm(LayoutStyles.NONE);
          HORIZ = new HorizontalLayoutAlgorithm(LayoutStyles.NONE);
          VERT = new VerticalLayoutAlgorithm(LayoutStyles.NONE);
View Full Code Here

Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

    if (layout == null) {
      int style = LayoutStyles.NONE;
      // int style = LayoutStyles.NO_LAYOUT_NODE_RESIZING;
      // int style = LayoutStyles.NONE;
      if (horizontal) {
        layout = new HorizontalTreeLayoutAlgorithm(style);
      } else {
        layout = new TreeLayoutAlgorithm(style);
      }
    }
    return layout;
View Full Code Here

Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

    // createLayoutMenuAction("Grid", new
    // GridLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING));
    // createLayoutMenuAction("Horizontal", new
    // HorizontalLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING));
    horizontalTree = createLayoutMenuAction("Horizontal Tree", new HorizontalTreeLayoutAlgorithm(
        LayoutStyles.NO_LAYOUT_NODE_RESIZING));
    radialLayout = createLayoutMenuAction("Radial", new RadialLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING));
    springLayout = createLayoutMenuAction("Spring", new SpringLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING));
    // createLayoutMenuAction("Vertical", new
    // VerticalLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING));
View Full Code Here

Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

    public void run()
    {
        if ( isChecked() )
        {
            graphView.getViewer().setLayoutAlgorithm(
                    new HorizontalTreeLayoutAlgorithm(
                            LayoutStyles.NO_LAYOUT_NODE_RESIZING ), true );
        }
    }
View Full Code Here

Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

  private void layoutTree() {
    graph.setLayoutAlgorithm(new TreeLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING), true);
  }
 
  private void layoutVertical() {
    graph.setLayoutAlgorithm(new HorizontalTreeLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING), true);
  }
View Full Code Here

Examples of org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm

       
        dbg(result, null, graph);
       
        graph.getGraphControl().setRedraw(true);
       
        graph.setLayoutAlgorithm(new HorizontalTreeLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING), true);
      }
    });

       // Selection listener on graphConnect or GraphNode is not supported
      // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=236528
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.