Package com.google.gwt.widgetideas.client

Examples of com.google.gwt.widgetideas.client.FastTreeItem


              p.getProcess().getName())) {
       
        FastTree t = (FastTree) mProcessTable.getWidget(i, 1);
        for (int j =0; j < t.getChild(0).getChildCount(); j++) {
         
          FastTreeItem curItem = t.getChild(0).getChild(j);
          if (curItem.getText().equals(p.getName())) {
            curItem.removeItems();
            for (Workflow w : p.getWorkflows()) {
              Anchor a = new Anchor(w.getId());
              a.addClickHandler(
                  mController.getWorkflowHandler(w));
              curItem.addItem(a);
            }
            //Found the item so we're done
            return;
         
        }
View Full Code Here


        mProcessTable.getRowFormatter().setVerticalAlign(
            index, HasVerticalAlignment.ALIGN_TOP);
        setRowStyleBasedOnProcess(index, p);
       
        FastTree t = new FastTree();
        FastTreeItem properties = new FastTreeItem("Properties") {

          public void beforeOpen() {
            mController.openProcess(p);
          }
        };
 
        t.addItem(properties);
       
        //Following line is workaround for gwt bug
        //See http://code.google.com/p/google-web-toolkit/issues/
        //detail?id=369
        DOM.setStyleAttribute(t.getElement(), "position", "static");
       
        mProcessTable.setWidget(index, 1, t);
        properties.becomeInteriorNode();

      }   
      index++;
    }
   
View Full Code Here

TOP

Related Classes of com.google.gwt.widgetideas.client.FastTreeItem

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.