Examples of generateLaunchConfigurationName()


Examples of org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName()

    protected ILaunchConfigurationWorkingCopy createConfiguration(IPath targetPath) throws CoreException {
        ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager();
        ILaunchConfigurationType configType = manager.getLaunchConfigurationType(launchId);

        ILaunchConfigurationWorkingCopy wc;
        wc = configType.newInstance(null, manager.generateLaunchConfigurationName(targetPath.lastSegment()));
        wc.setAttribute(LaunchConstants.ATTR_LAUNCH_TARGET, targetPath.toString());
        wc.setAttribute(LaunchConstants.ATTR_CLEAN, LaunchConstants.DEFAULT_CLEAN);
        wc.setAttribute(LaunchConstants.ATTR_DYNAMIC_BUNDLES, LaunchConstants.DEFAULT_DYNAMIC_BUNDLES);

        IResource targetResource = ResourcesPlugin.getWorkspace().getRoot().findMember(targetPath);
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName()

    ILaunchConfigurationType configType = manager
        .getLaunchConfigurationType(IJavaLaunchConfigurationConstants.ID_JAVA_APPLICATION);

    ILaunchConfigurationWorkingCopy workingCopy = configType.newInstance(
        null, manager.generateLaunchConfigurationName(type
            .getTypeQualifiedName('.')));
    workingCopy.setAttribute(
        IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,
        type.getFullyQualifiedName());
    workingCopy.setAttribute(
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName()

        final ILaunchConfigurationType type = launchManager
                .getLaunchConfigurationType(IExternalToolConstants.ID_PROGRAM_BUILDER_LAUNCH_CONFIGURATION_TYPE);

        try {
            final ILaunchConfigurationWorkingCopy launchConfig = type.newInstance(null,
                    launchManager.generateLaunchConfigurationName("erlTool"));
            launchConfig.setAttribute(IExternalToolConstants.ATTR_LOCATION, cmd);
            launchConfig.setAttribute(IExternalToolConstants.ATTR_TOOL_ARGUMENTS, args);
            launchConfig
                    .setAttribute(IExternalToolConstants.ATTR_WORKING_DIRECTORY, wdir);
            launchConfig.setAttribute(IExternalToolConstants.ATTR_LAUNCH_IN_BACKGROUND,
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName()

    ILaunchConfigurationType type =
        launchManager.getLaunchConfigurationType(JSTD_LAUNCH_CONFIGURATION_TYPE);
    try {
      // create and initialize a new launch configuration
      ILaunchConfigurationWorkingCopy newLauchConfiguration = type.newInstance(
          null, launchManager.generateLaunchConfigurationName(projectName));
      newLauchConfiguration.setAttribute(PROJECT_NAME, projectName);
      newLauchConfiguration.setAttribute(LaunchConfigurationConstants.TESTS_TO_RUN, testCases);

      // let user edit/run/cancel the configuraion
      int result = DebugUITools.openLaunchConfigurationDialog(
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName()

        ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager();
        ILaunchConfigurationType launchConfigurationType = manager
                .getLaunchConfigurationType("com.aptana.js.interactive_console.interactiveConsoleConfigurationType"); //$NON-NLS-1$
        ILaunchConfigurationWorkingCopy newInstance;
        try {
            newInstance = launchConfigurationType.newInstance(null, manager
                    .generateLaunchConfigurationName("JS Interactive Launch")); //$NON-NLS-1$
        } catch (CoreException e) {
            return null;
        }
        newInstance.setAttribute(IDebugUIConstants.ATTR_PRIVATE, true);
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName()

        ILaunchConfigurationType launchConfigurationType = manager
                .getLaunchConfigurationType("org.python.pydev.debug.interactiveConsoleConfigurationType");
        ILaunchConfigurationWorkingCopy newInstance;
        try {
            newInstance = launchConfigurationType.newInstance(null,
                    manager.generateLaunchConfigurationName("PyDev Interactive Launch"));
        } catch (CoreException e) {
            return null;
        }
        newInstance.setAttribute(IDebugUIConstants.ATTR_PRIVATE, true);
        return newInstance;
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.