Examples of IRunnerModel


Examples of com.eclipserunner.model.IRunnerModel

    if (file.length() == 0) {
      throw coreException("File contains no data '" + file.getAbsolutePath() + "'");
    }

    Document runnerModelDocument = createDocumentFromRunnerModelFile(file);
    IRunnerModel runnerModel = getDefaultModel();

    populateRunnerModelFromDocument(runnerModel, runnerModelDocument);
    populateRunnerModelWithRemainingUncategorizedLaunchConfigurations(runnerModel);
  }
View Full Code Here

Examples of com.eclipserunner.model.IRunnerModel

   * Load plugin default state.
   *
   * @throws CoreException
   */
  public static void readDefaultRunnerModel() throws CoreException {
    IRunnerModel runnerModel = getDefaultModel();
    ILaunchManager launchManager = getLaunchManager();
    for (ILaunchConfiguration launchConfiguration : launchManager.getLaunchConfigurations()) {
      LaunchNode launchNode = new LaunchNode();
      launchNode.setLaunchConfiguration(launchConfiguration);
      runnerModel.getDefaultCategoryNode().add(launchNode);
    }
  }
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.