List of usage examples for com.google.gwt.eclipse.core.launch GWTLaunchConfigurationWorkingCopy setSuperDevModeEnabled
public static void setSuperDevModeEnabled(ILaunchConfigurationWorkingCopy configuration, boolean enabled)
From source file:com.google.gdt.eclipse.suite.launch.ui.shortcuts.WebAppLaunchShortcut.java
License:Open Source License
/** * Turn on GWT Super Dev Mode in the case that dev mode was run first. This depends on which shortcut was used. * * @param isGwtSuperDevModeEnabled//from ww w . j av a 2 s . com */ private ILaunchConfiguration turnOnOrOffSuperDevMode(ILaunchConfiguration config, boolean isGwtSuperDevModeEnabled) throws CoreException { ILaunchConfigurationWorkingCopy workingCopy = config.getWorkingCopy(); GWTLaunchConfigurationWorkingCopy.setSuperDevModeEnabled(workingCopy, isGwtSuperDevModeEnabled); SuperDevModeArgumentProcessor sdmArgsProcessor = new SuperDevModeArgumentProcessor(); LaunchConfigurationProcessorUtilities.updateViaProcessor(sdmArgsProcessor, workingCopy); workingCopy.doSave(); return workingCopy; }