Example usage for com.google.gwt.eclipse.core.launch GWTLaunchConfigurationWorkingCopy setMainType

List of usage examples for com.google.gwt.eclipse.core.launch GWTLaunchConfigurationWorkingCopy setMainType

Introduction

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

Prototype

public static void setMainType(ILaunchConfigurationWorkingCopy workingCopy, String mainType) 

Source Link

Usage

From source file:com.google.gdt.eclipse.suite.launch.ui.tab_groups.GwtCompilerTabGroup.java

License:Open Source License

@Override
public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {
    super.setDefaults(configuration);

    GwtSuperDevModeCodeServerLaunchUtil.setDefaults(configuration, null);

    GWTLaunchConfigurationWorkingCopy.setMainType(configuration,
            GwtLaunchConfigurationProcessorUtilities.GWT_COMPILER);
}

From source file:com.google.gdt.eclipse.suite.launch.ui.tab_groups.GwtSuperDevModeCodeServerTabGroup.java

License:Open Source License

@Override
public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {
    super.setDefaults(configuration);

    GwtSuperDevModeCodeServerLaunchUtil.setDefaults(configuration, null);

    GWTLaunchConfigurationWorkingCopy.setMainType(configuration,
            GwtLaunchConfigurationProcessorUtilities.GWT_CODE_SERVER);
}