Package tool.model.jobs

Examples of tool.model.jobs.LoadPlanCacheJob


    Map<String, ToolPlan> cache = null;
    try {
      cache = (Map<String, ToolPlan>)project.getSessionProperty(new QualifiedName(ToolProjectSupport.PROJECT_QUALIFIED_NAME, ToolProjectSupport.PLAN_CACHE));
      if (cache == null){
        cache = new HashMap<String, ToolPlan>();
        LoadPlanCacheJob runner = new LoadPlanCacheJob(project, cache);
        runner.setPriority(Job.INTERACTIVE);
//        runner.schedule();
//        runner.join();
        project.setSessionProperty(new QualifiedName(ToolProjectSupport.PROJECT_QUALIFIED_NAME, ToolProjectSupport.PLAN_CACHE), cache);
      }
    } catch (CoreException e) {
View Full Code Here

TOP

Related Classes of tool.model.jobs.LoadPlanCacheJob

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.