Author: rob.stryker(a)jboss.com
Date: 2011-10-21 03:21:28 -0400 (Fri, 21 Oct 2011)
New Revision: 35887
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
JBIDE-9953 - to trunk - clarifies dialog message for push and commit
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2011-10-21
07:17:16 UTC (rev 35886)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2011-10-21
07:21:28 UTC (rev 35887)
@@ -63,15 +63,16 @@
private boolean requestCommitAndPushApproval(final IModule[] module, int changed) {
String projName = module[module.length-1].getProject().getName();
- String msg = "Do you wish to publish \"" + projName + "\" to
OpenShift by commiting " +
- changed + " changed file(s) and pushing its git repository?";
+ String msg = "There are " + changed + " local changes in \"" +
projName + "\". " +
+ "Do you want to publish to OpenShift by commiting the changes and pushing its
Git repository?";
String title = "Publish " + projName + "?";
return requestApproval(module, msg, title);
}
private boolean requestPushApproval(final IModule[] module) {
String projName = module[module.length-1].getProject().getName();
- String msg = "Do you wish to publish \"" + projName + "\" to
OpenShift by pushing its git repository?";
+ String msg = "The are no local changes in \"" + projName +
"\". " +
+ "Do you want to publish to OpenShift by pushing its Git repository?";
String title = "Publish " + projName + "?";
return requestApproval(module, msg, title);
}
Show replies by date