Examples of DimensionTree


Examples of com.narirelays.ems.model.DimensionTree

    }
    return null;
  }
 
  private static DimensionTree generateDepartmentTree(EntHierarchy ent){
    DimensionTree result = new DimensionTree();
    result.setDimensionName("department");
    result.setShortDescription("部门");
    result.setLongDescription("部门维度");
    result.setRoot(makeDepartmentTree(ent));
    return null;
  }
View Full Code Here

Examples of com.narirelays.ems.model.DimensionTree

import com.narirelays.ems.model.DimensionTreeNode;

public class CacheProviderTester {

  public static void main(String[] argv) throws InterruptedException{
    DimensionTree tree = new DimensionTree();
    tree.setDimensionName("department");
    tree.setShortDescription("shortDesc");
    tree.setLongDescription("longDesc");
    tree.setRoot(new DimensionTreeNode());
    tree.getRoot().setText("root");
    tree.getRoot().setId("rootid");
   
    DimensionTreeNode sub = new DimensionTreeNode();
    sub.setText("sub");
    sub.setId("subid");
    tree.getRoot().getChildren().add(sub);
   
    CacheProvider.setObject("mytree", 0, tree);
//    Thread.sleep(1000);
    Object obj = CacheProvider.getObject("mytree");
    if(obj instanceof DimensionTree){
      DimensionTree cacheTree = (DimensionTree)obj;
      System.out.println(JSONObject.fromObject(cacheTree).toString());
    }
   
    List<DimensionTree> treeList = new ArrayList<DimensionTree>();
    treeList.add(tree);
View Full Code Here

Examples of rex.graphics.dimensiontree.DimensionTree

      popup.add(backgroundMenu);
      popup.add(mnuSaveJSP);
      popup.add(mnuCreateTree);
     

      dimTree = new DimensionTree(restrictions, properties, smd, this);
      dimTree.setPreferredSize(new Dimension( (int)(Toolkit.getDefaultToolkit().getScreenSize().getWidth()/5)
                                             ,(int)(Toolkit.getDefaultToolkit().getScreenSize().getHeight()/2.1)));     
      dimTreeDragSource  = new DimensionTreeToMBTDragSource(dimTree.getTree()
                                                      , DnDConstants.ACTION_COPY_OR_MOVE);
      builderTree = new MdxBuilderTree(this, this, cubeName);
View Full Code Here

Examples of rex.graphics.dimensiontree.DimensionTree

      execProperties.setDataSourceInfo(properties.getDataSourceInfo());


      q = new Query(_restrictions.getCubeName(), this);

      dimTree = new DimensionTree(_restrictions, _properties, _smd, q);


      ds = new TreeDragSource(dimTree.getTree(), DnDConstants.ACTION_COPY_OR_MOVE);
      rightPane = new JPanel(){
//         Image image = imageIcon.getImage();
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.