Package com.projity.offline_graphics

Examples of com.projity.offline_graphics.NetworkSVGRenderer


//      }
      Portfolio portfolio = frame.getGraphicManager().getProjectFactory().getPortfolio();
      cache=NodeModelCacheFactory.getInstance().createDefaultCache(portfolio.getNodeModel(), portfolio,NodeModelCache.PROJECT_TYPE,"OfflineProjects",null);
      ((GanttSVGRenderer)renderer).init(frame.getProject(),cache,fieldArray,colWidth,frame.getScale(),false);
    }else if (view instanceof PertView){
      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{
View Full Code Here

TOP

Related Classes of com.projity.offline_graphics.NetworkSVGRenderer

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.