Package tool.model

Examples of tool.model.IProjectComponent


    super();
  }

  public Image getImage(Object element) {
    if (element instanceof IProjectComponent){
      IProjectComponent model = (IProjectComponent)element;
      return ToolPlugin.getImage(model.getIconString());
    } else if (element instanceof IClassComponent){
      return ToolPlugin.getImage(((IClassComponent)element).getIconString());
    } else if (element instanceof ToolPlan){
      ToolPlan plan = (ToolPlan)element;
      if (plan.isFortePlan() || plan.isLibrary())
View Full Code Here


    walker.component_definition();
    return walker.getNumberOfSyntaxErrors();

  }
  private int parseUsingCDFTree(CommonTree tree, TokenStream tokens, String name) throws RecognitionException{
    IProjectComponent cls = new ToolClass(name);
    CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
    nodes.setTokenStream(tokens);
    ForteCDFTree walker = new ForteCDFTree(nodes);
    walker.classDeclaration();
    return walker.getNumberOfSyntaxErrors();
View Full Code Here

TOP

Related Classes of tool.model.IProjectComponent

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.