Examples of LaunchNode


Examples of com.eclipserunner.model.impl.LaunchNode

  public RunnerModelLaunchConfigurationListenerAdapter(IRunnerModel runnerModel) {
    this.runnerModel = runnerModel;
  }

  public void launchConfigurationAdded(ILaunchConfiguration newConfiguration) {
    LaunchNode launchNode = null;
    ILaunchConfiguration oldLaunchConfiguration = getLaunchManager().getMovedFrom(newConfiguration);
    if (oldLaunchConfiguration != null) {

      launchNode = (LaunchNode) findLaunchNodeBy(oldLaunchConfiguration);
      if (launchNode != null) {
        launchNode.setLaunchConfiguration(newConfiguration);
        return;
      }
    }

    launchNode = new LaunchNode();
    launchNode.setLaunchConfiguration(newConfiguration);
    runnerModel.getDefaultCategoryNode().add(launchNode);
  }
View Full Code Here

Examples of com.eclipserunner.model.impl.LaunchNode

    // launchConfigurationAdded and launchConfigurationRemoved.
    // Old configuration is deleted and new is created in place of the old one.
  }

  public void launchConfigurationRemoved(ILaunchConfiguration oldConfiguration) {
    LaunchNode launchNode = (LaunchNode) findLaunchNodeBy(oldConfiguration);
    if (launchNode != null) {
      runnerModel.removeLaunchNode(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.