Package frege.imp.builders

Examples of frege.imp.builders.FregeBuilder


    public IJavaProject getJp() { return javaProject; }
    /**
     * get all frege source files in the work space
     */
    public List<String> getAllSources(final String hint) {
      final FregeBuilder builder = new FregeBuilder();
      final Set<String> result = new HashSet<String>();
      try {
        project.getRawProject()
          .getWorkspace().getRoot()
          .accept(builder.fResourceVisitor);
View Full Code Here


     * look for a path that contains the source code for pack
     */
    public IPath getSource(final String pack) {
      final String fr = pack.replaceAll("\\.", "/") + ".fr";
      // final String[] srcs = getSp().split(System.getProperty("path.separator"));
      final FregeBuilder builder = new FregeBuilder();
      try {
        project.getRawProject()
          // .getWorkspace().getRoot()
          .accept(builder.fResourceVisitor);
      } catch (CoreException e) {
View Full Code Here

              System.err.println("The path is " + dpath);
              IWorkspace workspace= ResourcesPlugin.getWorkspace();
              final IFile dfile = workspace.getRoot().getFileForLocation(dpath);
              Job job = new Job("Compile " + dpath) {
                @Override protected IStatus run(IProgressMonitor monitor) {
                  if (new FregeBuilder().compiled(dfile, monitor))
                    return Status.OK_STATUS;
                  return Status.CANCEL_STATUS;
                }
               
              };
View Full Code Here

TOP

Related Classes of frege.imp.builders.FregeBuilder

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.