Examples of doSave()


Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

    try {

      // Only save if some configuration is different.
      if (!iConfWC.contentsEqual(iConf))
        iConfWC.doSave();

    } catch (CoreException e) {
      e.printStackTrace();
      // FIXME Error dialog
      return null;
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        // Pass the URL of the node install image to the launcher
        configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
                                   "http://localhost:9990/node-image/" + nodeName);

        // Save the configuration
        configuration.doSave();

        // Launch
        configuration.launch(mode, null);
    }
   
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, file.getProject().getName());
        configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, "org.apache.tuscany.sca.node.launcher.DomainManagerLauncher");
        configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, domainProject.getLocation().toString());

        // Save the configuration
        configuration.doSave();

        // Launch
        configuration.launch(mode, null);
    }
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

      wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,
        mainClass);
      wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
        args);
      // saves the new config
      config = wc.doSave();
    }
    ILaunch launch=config.launch(ILaunchManager.RUN_MODE, null);
    config.delete();
    return launch;
  }
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

    ILaunchConfigurationWorkingCopy copy = configType.newInstance(null, launchManager.generateUniqueLaunchConfigurationNameFrom(moduleName));
    copy.setAttribute(Constants.LAUNCH_ATTR_MODULE_NAME, moduleName);
    copy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, projectName);
    copy.setAttribute(Constants.LAUNCH_ATTR_PROJECT_NAME, projectName);
   
    return copy.doSave();
  }


  public static ILaunchConfiguration findLaunch(String moduleName, String projectName) throws CoreException {
   
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

    ILaunchConfigurationWorkingCopy copy = configType.newInstance(null, launchManager.generateUniqueLaunchConfigurationNameFrom(moduleName));
    copy.setAttribute(Constants.LAUNCH_ATTR_MODULE_NAME, moduleName);
    copy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, projectName);
    copy.setAttribute(Constants.LAUNCH_ATTR_PROJECT_NAME, projectName);

    return copy.doSave();
  }

  public static ILaunchConfiguration findLaunch(String moduleName, String projectName) throws CoreException {

    ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        + HTML_EXT);
    config.setAttribute(ILaunchConfigurationConstants.PROJECT,
        ATFDebugConstants.DEBUG_PROJECT_NAME);
    config.setAttribute(ILaunchConfigurationConstants.WEB_MODULE,
        ATFDebugConstants.DEBUG_PROJECT_NAME);
    config.doSave();
  }

  /**
   * Returns the test project.
   */
 
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

    ILaunchConfigurationWorkingCopy copy = configType.newInstance(null, launchManager.generateUniqueLaunchConfigurationNameFrom(moduleName));
    copy.setAttribute(Constants.LAUNCH_ATTR_MODULE_NAME, moduleName);
    copy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, projectName);
    copy.setAttribute(Constants.LAUNCH_ATTR_PROJECT_NAME, projectName);
   
    return copy.doSave();
  }


  public static ILaunchConfiguration findLaunch(String moduleName, String projectName) throws CoreException {
   
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

    ILaunchConfigurationWorkingCopy copy = configType.newInstance(null, launchManager.generateUniqueLaunchConfigurationNameFrom(moduleName));
    copy.setAttribute(Constants.LAUNCH_ATTR_MODULE_NAME, moduleName);
    copy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, projectName);
    copy.setAttribute(Constants.LAUNCH_ATTR_PROJECT_NAME, projectName);

    return copy.doSave();
  }

  public static ILaunchConfiguration findLaunch(String moduleName, String projectName) throws CoreException {

    ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

      //wc.setAttribute(IXVRConstants.ATTR_XVR_COMPILER, "C:\\VRMedia\\s3dc.exe");
      wc.setAttribute(IXVRConstants.ATTR_XVR_VM, "C:\\VRMedia\\XVRGlut.exe");
      //wc.setAttribute(IXVRConstants.ATTR_XVR_HEADERS, "C:\\VRMedia\\Include\n");
      wc.setAttribute(IXVRConstants.ATTR_XVR_BROWSER, "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe");
      XVRMainTab.fillConfigurationFromPath(wc, resource.getFullPath().toString());
      config = wc.doSave();
    } catch (CoreException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
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.