Package com.projity.session

Examples of com.projity.session.CreateOptions


  public boolean doNewProjectDialog2(ProjectDialog.Form form) {
    showWaitCursor(true);
    ResourcePool resourcePool=form.getResourcePool();
    boolean local=form.isLocal();
    if (resourcePool!=null) resourcePool.setLocal(local);
    CreateOptions opt=new CreateOptions();
    opt.setResourcePool(form.getResourcePool());
    opt.setLocal(local);
    opt.setName(form.getName());
    opt.setAddResources(!local);
    Project project = projectFactory.createProject(opt);
    try {
      //createProject above might make a new resource pool, so make sur it is used when copying properties
      //projectDialog.getForm().setResourcePool(project.getResourcePool());
View Full Code Here


  public boolean doNewProjectDialog2(ProjectDialog.Form form) {
    showWaitCursor(true);
    ResourcePool resourcePool=form.getResourcePool();
    boolean local=form.isLocal();
    if (resourcePool!=null) resourcePool.setLocal(local);
    CreateOptions opt=new CreateOptions();
    opt.setResourcePool(form.getResourcePool());
    opt.setLocal(local);
    opt.setName(form.getName());
    opt.setAddResources(!local);
    Project project = projectFactory.createProject(opt);
    try {
      //createProject above might make a new resource pool, so make sur it is used when copying properties
      //projectDialog.getForm().setResourcePool(project.getResourcePool());
View Full Code Here

//    Project project = createProject(null,local,name,addResources,verify);
//    return project;
//  }
//
  public Project createProject() {
    CreateOptions opt=new CreateOptions();
    opt.setLocal(Environment.getStandAlone());
    opt.setName(Messages.getString("Text.Untitled") + " " + ++untitledCount);
    return createProject(opt);
  }
View Full Code Here

TOP

Related Classes of com.projity.session.CreateOptions

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.