Examples of loadProject()


Examples of andrq.projectParser.PascalPlusDFMProjectParserImpl.loadProject()

    startLoadingProject();
  }

  private void startLoadingProject() {
    ProjectParser parser=new PascalPlusDFMProjectParserImpl();
    parser.loadProject(new ProgressMeter() {
     
      @Override
      public void setProgressValue(float value) {
        final int deltaInteger=Math.round(value-getProgressMinimum());
        SwingUtilities.invokeLater(new Runnable() {
View Full Code Here

Examples of andrq.projectParser.ProjectParser.loadProject()

    startLoadingProject();
  }

  private void startLoadingProject() {
    ProjectParser parser=new PascalPlusDFMProjectParserImpl();
    parser.loadProject(new ProgressMeter() {
     
      @Override
      public void setProgressValue(float value) {
        final int deltaInteger=Math.round(value-getProgressMinimum());
        SwingUtilities.invokeLater(new Runnable() {
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.WsdlProject.loadProject()

        restRequest.setRequestContent(originalContent);
        File saveFile = File.createTempFile("soapui", "xml");
        saveFile.deleteOnExit();
        project.saveIn(saveFile);
        WsdlProject loadedProject = new WsdlProject(saveFile.getAbsolutePath());
        loadedProject.loadProject(saveFile.toURL());
        RestRequest loadedRequest = (RestRequest) loadedProject.getInterfaceAt(0).getOperationAt(0).getRequestAt(0);
        assertThat(loadedRequest.getRequestContent(), is(originalContent));
    }

    /* Backward compatibility tests end */
 
View Full Code Here

Examples of org.apache.cayenne.project.DataChannelProjectLoader.loadProject()

        URL url = getClass().getClassLoader().getResource(
                baseUrl + "/cayenne-" + testConfigName + ".xml");

        Resource rootSource = new URLResource(url);

        Project project = loader.loadProject(rootSource);
        assertNotNull(project);

        DataChannelDescriptor rootNode = (DataChannelDescriptor) project.getRootNode();
        assertNotNull(rootNode);
        assertSame(rootSource, rootNode.getConfigurationSource());
View Full Code Here

Examples of org.grouplens.lenskit.eval.script.EvalScriptEngine.loadProject()

        logger.info("loading evaluation from {}", file);

        EvalScriptEngine engine = new EvalScriptEngine(environment.getClassLoader(),
                                                       getProperties());

        EvalProject project = engine.loadProject(file);
        if (getTargets().isEmpty()) {
            String dft = project.getDefaultTarget();
            if (dft != null) {
                project.executeTarget(dft);
            } else if (!project.getAntProject().getTargets().isEmpty()) {
View Full Code Here

Examples of org.grouplens.lenskit.eval.script.EvalScriptEngine.loadProject()

            System.err.println("run lenskit-eval --help for more information");
            System.exit(1);
        }
        logger.info("loading evaluation from {}", f);
        try {
            EvalProject project = engine.loadProject(f);
            if (options.getArgs().length == 0) {
                String dft = project.getDefaultTarget();
                if (dft == null && !project.getAntProject().getTargets().isEmpty()) {
                    String targets = Joiner.on(", ")
                                           .join(Iterables.transform(
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.