Package com.projity.pm.task

Examples of com.projity.pm.task.Portfolio$ResourcePoolFinder


      List<Integer> colWidth=null;
//      if (sp!=null){
//        fieldArray=(SpreadSheetFieldArray)sp.getFieldArray();
//        colWidth=getColWidth(sp, fieldArray);
//      }
      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());
View Full Code Here


    return resourceView;
  }

  public ProjectView getProjectView() {
    if (projectView == null) {
      Portfolio portfolio = getGraphicManager().getProjectFactory().getPortfolio();
      projectView = new ProjectView(portfolio.getNodeModel(), portfolio);
      restoreWorkspaceFor(projectView);
    }
    return projectView;
  }
View Full Code Here

    super(graphicManager.getFrame(), Messages.getString("File.projects"), false);
    this.graphicManager = graphicManager;
  }
  @Override
  public JComponent createContentPanel() {
    Portfolio portfolio = graphicManager.getProjectFactory().getPortfolio();
    projectView = new ProjectView(portfolio.getNodeModel(), portfolio);
    instance.setPreferredSize(new Dimension(800,250));
    return projectView;
  }
View Full Code Here

TOP

Related Classes of com.projity.pm.task.Portfolio$ResourcePoolFinder

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.