checker.promptDeploy(prompt, promptCallback);
}
private DeployPrompt createPrompt() {
if (view.getProject().isDeployable()) {
DialogDeployPrompt dialog = new DialogDeployPrompt();
BooleanPreference preference = AlwaysDeployDirtyItemsWhenTestingPreference.INSTANCE;
dialog.setAutomaticDeployPreference(preference);
return new PreferenceCheckingDeployPrompt(dialog, preference);
} else {
return new ReadOnlyProjectDeployPrompt();
}
}