Examples of IErrorReporter


Examples of tool.model.grammar.IErrorReporter

    ToolClass.getTypeCache(this.getProject()).remove(getFullName().toUpperCase());
   
  }
 
  public synchronized void move(String newPlanName){
    IErrorReporter plan = ToolPlan.fetch(getProject(), newPlanName);
    if (plan == null)
      return;
    remove();
    ToolClass.getTypeCache(this.getProject()).put(getFullName().toUpperCase(), this);
   
View Full Code Here

Examples of tool.model.grammar.IErrorReporter

    return ((ToolPlan)getParent()).getToolName() + "." + getToolName();
  }
  public static ToolComponent findType(IProject project, String plan,
      String type) {
    String key = (plan + "." + type).toUpperCase();
    IErrorReporter toolPlan = ToolPlan.fetch(project, plan); //Warms up the plan cache
   
    if (ToolProjectSupport.forteLibrariesSet.contains(plan)) {
      return forteTypeCache.get(key);
    }
    ToolType result = getTypeCache(project).get(key);
View Full Code Here

Examples of tool.model.grammar.IErrorReporter

        return tpcs;
      }
    }
   
    if(source instanceof IFolder) {
      IErrorReporter plan = ToolProjectSupport.getPlanFromFolder((IFolder)source);
      if (plan != null){
        source = plan;
        this.showType = CONSTANTS;
      }
    }

    if (source instanceof ToolPlan){
      ToolPlan plan = (ToolPlan)source;
      IProjectComponent[] tpcs = null;
      tpcs = plan.getComponents();
      return tpcs;
    }  
    return children != null ? children : NO_CHILDREN;
 
View Full Code Here

Examples of tool.model.grammar.IErrorReporter

   */
  private synchronized IErrorReporter updateModel(IFile modelFile) {

    if(PLAN_EXT.equals(modelFile.getFileExtension()) ) {
      if (modelFile.exists()) {
        IErrorReporter model = ToolPlan.getInstance(modelFile);
        cachedModelMap.put(modelFile, model);
        return model;
      } else {
        cachedModelMap.remove(modelFile);
      }
View Full Code Here

Examples of tool.model.grammar.IErrorReporter

       * assume we have a list of supplier plan names
       */
      Object[] kids = new Object[planSet.size()];
      int i = 0;
      for (Object obj : planSet){
        IErrorReporter plan = ToolPlan.fetch(project, obj.toString());
        kids[i] = plan;
        i++;
      }
      return kids;
    }
View Full Code Here

Examples of tool.model.grammar.IErrorReporter

    try {
      planName = planDir.getPersistentProperty(toolPlanNameQualifiedName);
      if (planName != null){
        return true;
      } else {
        IErrorReporter plan = addPlanToFolder(planName, planDir);
        return (plan != null);
      }
    } catch (CoreException e) {
      ToolPlugin.showError("Error checking Tool plan folder", e);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.