Package com.projity.pm.graphic.views

Examples of com.projity.pm.graphic.views.TreeView


      renderer=new NetworkSVGRenderer();
      cache=NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)frame.getReferenceCache(true),"Network",null);
      ((NetworkSVGRenderer)renderer).init(frame.getProject(),cache,NetworkSVGRenderer.PERT,frame.getScale());
    }else if (view instanceof TreeView){
      renderer=new NetworkSVGRenderer();
      TreeView treeView=(TreeView)view;
      if ("WBS".equals(treeView.getViewName())){
        cache=NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)frame.getReferenceCache(true),"WBS",null);
        ((NetworkSVGRenderer)renderer).init(frame.getProject(),cache,NetworkSVGRenderer.WBS,frame.getScale());
      }else{
        cache=NodeModelCacheFactory.getInstance().createFilteredCache((ReferenceNodeModelCache)frame.getReferenceCache(false),"RBS",null);
        ((NetworkSVGRenderer)renderer).init(frame.getProject(),cache,NetworkSVGRenderer.RBS,frame.getScale());
View Full Code Here


    return pertView;
  }

  public TreeView getWBSView() {
    if (wbsView == null) {
      wbsView = new TreeView(this, graphicManager.getMenuManager());
      wbsView.init(getTaskNodeModelCache(), getTaskModel(), ACTION_WBS,addTransformerInitializationClosure());
      restoreWorkspaceFor(wbsView);
    }
    return wbsView;
  }
View Full Code Here

    return wbsView;
  }

  public TreeView getRBSView() {
    if (rbsView == null) {
      rbsView = new TreeView(this, graphicManager.getMenuManager());
      rbsView.init(getResourceNodeModelCache(), getResourceModel(),
              ACTION_RBS,addTransformerInitializationClosure());
      restoreWorkspaceFor(rbsView);
    }
    return rbsView;
View Full Code Here

TOP

Related Classes of com.projity.pm.graphic.views.TreeView

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.