Package com.projity.pm.task

Examples of com.projity.pm.task.ProjectFactory


  protected Document loadDocument(long id,boolean sync,boolean openAs,Closure endSwingClosure){
    addHistory("loadDocument", new Object[]{id,sync,openAs,endSwingClosure==null});
    //showWaitCursor(true);
    if (id==-1L)
      return null;
    ProjectFactory factory = projectFactory;
    factory.setServer(server);
    LoadOptions opt=new LoadOptions();
    opt.setId(id);
    opt.setSync(sync);
    opt.setOpenAs(openAs);
    opt.setEndSwingClosure(endSwingClosure);

    Document result = factory.openProject(opt);
    //showWaitCursor(false);
    return result;
  }
View Full Code Here


  protected Document loadDocument(long id,boolean sync,boolean openAs,Closure endSwingClosure){
    addHistory("loadDocument", new Object[]{id,sync,openAs,endSwingClosure==null});
    //showWaitCursor(true);
    if (id==-1L)
      return null;
    ProjectFactory factory = projectFactory;
    factory.setServer(server);
    LoadOptions opt=new LoadOptions();
    opt.setId(id);
    opt.setSync(sync);
    opt.setOpenAs(openAs);
    opt.setEndSwingClosure(endSwingClosure);

    Document result = factory.openProject(opt);
    //showWaitCursor(false);
    return result;
  }
View Full Code Here

    this.documentCalendars = documentCalendars;
    this.project=project;
    this.restrict = restrict;
    this.undoController = undoController;
//    ProjectFactory projectFactory = ((MainFrame)owner).getProjectFactory();
    ProjectFactory projectFactory = GraphicManager.getInstance(this).getProjectFactory();
    ArrayList projCals = projectFactory.getPortfolio().extractCalendars();
    projectCalendars = new ArrayList();
    Iterator i = projCals.iterator();
    WorkingCalendar current;
    while (i.hasNext()) { // add all non base cals that are project cals
      current =(WorkingCalendar)i.next();
View Full Code Here

TOP

Related Classes of com.projity.pm.task.ProjectFactory

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.