Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.ISourceElementParser


  public Map doOperation() {
    try {
      if (method.getSource() != null) {
        CaleeSourceElementRequestor requestor = new CaleeSourceElementRequestor();
        ISourceElementParser parser = DLTKLanguageManager
                .getSourceElementParser(RutaNature.NATURE_ID);
        parser.setRequestor(requestor);
        parser.parseSourceModule(new MethodSourceCode(method));
      } else {
        // TODO: Report error here.
      }
      return fSearchResults;
    } catch (ModelException e) {
View Full Code Here


  public Map doOperation() {
    try {
      if (method.getSource() != null) {
        CaleeSourceElementRequestor requestor = new CaleeSourceElementRequestor();
        ISourceElementParser parser = DLTKLanguageManager
                .getSourceElementParser(RutaNature.NATURE_ID);
        parser.setRequestor(requestor);
        parser.parseSourceModule(new MethodSourceCode(method));
      } else {
        // TODO: Report error here.
      }
      return fSearchResults;
    } catch (ModelException e) {
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.core.ISourceElementParser

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.