Author: dmaliarevich
Date: 2010-06-11 10:00:43 -0400 (Fri, 11 Jun 2010)
New Revision: 22775
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-6287 , Validation was updated.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java 2010-06-11
13:53:20 UTC (rev 22774)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java 2010-06-11
14:00:43 UTC (rev 22775)
@@ -195,7 +195,7 @@
} else {
enableBundleGroup(true);
}
- setPageComplete(isPageComplete());
+ updateStatus();
}
});
@@ -227,7 +227,6 @@
updateDuplicateKeyStatus();
updateStatus();
- setPageComplete(isPageComplete());
}
});
@@ -353,7 +352,7 @@
private boolean isDuplicatedKey(String key) {
boolean isDupliacted = false;
- if ((tagsTable.getItemCount() > 0) && (null != key)) {
+ if ((tagsTable.getItemCount() > 0) && (null != key) && !isNewFile())
{
TableItem[] items = tagsTable.getItems();
for (TableItem tableItem : items) {
if (key.equalsIgnoreCase(tableItem.getText(0))) {