Author: adietish
Date: 2010-10-11 10:09:08 -0400 (Mon, 11 Oct 2010)
New Revision: 25717
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java
Log:
[JBIDE-7282] [JBIDE-7283] [JBIDE-7284] error message display "name already used"
corrected
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java 2010-10-11
13:35:57 UTC (rev 25716)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java 2010-10-11
14:09:08 UTC (rev 25717)
@@ -378,7 +378,7 @@
public IStatus validate(Object value) {
if (nameText.getText() != null
&& DeltaCloudManager.getDefault().findCloud(nameText.getText()) !=
null) {
- return ValidationStatus.error(NAME_ALREADY_IN_USE);
+ return ValidationStatus.error(WizardMessages.getString(NAME_ALREADY_IN_USE));
} else {
return ValidationStatus.ok();
}
Show replies by date