Example usage for com.google.gwt.eclipse.core.launch.processors NoServerArgumentProcessor NoServerArgumentProcessor

List of usage examples for com.google.gwt.eclipse.core.launch.processors NoServerArgumentProcessor NoServerArgumentProcessor

Introduction

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

Prototype

NoServerArgumentProcessor

Source Link

Usage

From source file:com.google.gdt.eclipse.suite.launch.ui.tabs.WebAppServerTab.java

License:Open Source License

@Override
public void doPerformApply(ILaunchConfigurationWorkingCopy configuration) {
    if (runServerButton != null) {
        WebAppLaunchConfigurationWorkingCopy.setRunServer(configuration, runServerButton.getSelection());
    }//from w w w  .  j av a 2s .  c  om

    LaunchConfigurationProcessorUtilities.updateViaProcessor(new NoServerArgumentProcessor(), configuration);

    // TODO remove and have folks use the CodeServerLauncher
    //LaunchConfigurationProcessorUtilities.updateViaProcessor(new ServerArgumentProcessor(), configuration);

    WebAppLaunchConfigurationWorkingCopy.setServerPort(configuration, serverPortText.getText().trim());

    if (autoPortSelectionButton != null) {
        WebAppLaunchConfigurationWorkingCopy.setAutoPortSelection(configuration,
                autoPortSelectionButton.getSelection());
    }

    LaunchConfigurationProcessorUtilities.updateViaProcessor(new PortArgumentProcessor(), configuration);
}

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

License:Open Source License

public void doPerformApply(ILaunchConfigurationWorkingCopy configuration) {
    if (runServerButton != null) {
        WebAppLaunchConfigurationWorkingCopy.setRunServer(configuration, runServerButton.getSelection());
    }//from   ww w.j  av a 2 s .  c om

    LaunchConfigurationProcessorUtilities.updateViaProcessor(new NoServerArgumentProcessor(), configuration);
    LaunchConfigurationProcessorUtilities.updateViaProcessor(new ServerArgumentProcessor(), configuration);

    WebAppLaunchConfigurationWorkingCopy.setServerPort(configuration, serverPortText.getText().trim());

    if (autoPortSelectionButton != null) {
        WebAppLaunchConfigurationWorkingCopy.setAutoPortSelection(configuration,
                autoPortSelectionButton.getSelection());
    }

    LaunchConfigurationProcessorUtilities.updateViaProcessor(new PortArgumentProcessor(), configuration);
}