Author: adietish
Date: 2012-02-24 08:14:50 -0500 (Fri, 24 Feb 2012)
New Revision: 39103
Modified:
branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
Log:
[JBIDE-10520] corrected warning message when finishing the wizard
Modified:
branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
===================================================================
---
branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java 2012-02-24
12:31:56 UTC (rev 39102)
+++
branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java 2012-02-24
13:14:50 UTC (rev 39103)
@@ -283,7 +283,9 @@
if (!askForConfirmation(
NLS.bind("OpenShift application {0} will be enabled on project {1} by "
+ "copying OpenShift configuration and enabling Git for the project.\n
"
- + "This cannot be undone. Do you wish to continue ?",
+ + "This cannot be undone. \n"
+ + "Furthermore publishing to your OpenShift app will eventually override
existing content.\n"
+ + "Do you wish to continue ?",
wizardModel.getApplicationName(), wizardModel.getProjectName()),
wizardModel.getApplicationName())) {
return Status.CANCEL_STATUS;
@@ -291,9 +293,11 @@
getWizardModel().configureUnsharedProject(delegatingMonitor);
} else {
if (!askForConfirmation(
- NLS.bind("OpenShift application {0} will be enabled on project {1} by copying
OpenShift "
- + "configuration and adding the OpenShift git repo as remote.\n "
- + "This cannot be undone. Do you wish to continue ?",
+ NLS.bind("OpenShift application {0} will be enabled on project {1} by "
+ + "copying OpenShift configuration and enabling Git for the project.\n
"
+ + "This cannot be undone. \n"
+ + "Furthermore publishing to your OpenShift app will eventually override
existing content.\n"
+ + "Do you wish to continue ?",
wizardModel.getApplicationName(), wizardModel.getProjectName()),
wizardModel.getApplicationName())) {
return Status.CANCEL_STATUS;