Example usage for com.google.gwt.eclipse.core.launch ModuleClasspathProvider computeProviderId

List of usage examples for com.google.gwt.eclipse.core.launch ModuleClasspathProvider computeProviderId

Introduction

In this page you can find the example usage for com.google.gwt.eclipse.core.launch ModuleClasspathProvider computeProviderId.

Prototype

public static String computeProviderId(IProject project) 

Source Link

Document

Given a project instance, determines the provider id of a classpath provider that is contributed to the environment via the org.eclipse.jdt.launching.classpathProvider extension point.

Usage

From source file:com.google.gdt.eclipse.suite.launch.processors.ClasspathProviderProcessor.java

License:Open Source License

public void update(ILaunchConfigurationWorkingCopy launchConfig, IJavaProject javaProject,
        List<String> programArgs, List<String> vmArgs) throws CoreException {

    launchConfig.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH_PROVIDER,
            ModuleClasspathProvider.computeProviderId(javaProject.getProject()));
}

From source file:com.google.gdt.eclipse.suite.launch.WebAppLaunchUtil.java

License:Open Source License

public static void setDefaults(ILaunchConfigurationWorkingCopy configuration, IProject project) {
    configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH_PROVIDER,
            ModuleClasspathProvider.computeProviderId(project));
}