Package tool.model

Examples of tool.model.ToolClass$ClassProperty


    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


  public Object[] getChildren(Object parentElement) {
    //parse the class resource and create a ToolClass
    if (parentElement instanceof IFile &&
        (((IFile)parentElement).getFileExtension().equalsIgnoreCase("CLA") ||
        ((IFile)parentElement).getFileExtension().equalsIgnoreCase("WCL"))){
      ToolClass cls = ToolClass.parseUsingGrammar((IFile) parentElement);
//      ToolClass cls = ToolClass.fetch((IFile) parentElement);
      return new Object[] {cls};
    } else if (parentElement instanceof ToolClass){
      return ((ToolClass)parentElement).getComponents();
    }
View Full Code Here

TOP

Related Classes of tool.model.ToolClass$ClassProperty

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.