[jbosstools-commits] JBoss Tools SVN: r22879 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Jun 18 09:10:01 EDT 2010
Author: dmaliarevich
Date: 2010-06-18 09:10:01 -0400 (Fri, 18 Jun 2010)
New Revision: 22879
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 , combobox will show the first resource bundle in the list.
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-18 11:40:46 UTC (rev 22878)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java 2010-06-18 13:10:01 UTC (rev 22879)
@@ -356,6 +356,12 @@
rbCombo.add(bundleEntry.uri);
}
}
+ /*
+ * Select the first bundle if there is any in the list
+ */
+ if (rbCombo.getItemCount() > 0) {
+ rbCombo.select(0);
+ }
}
/*
* Update status message.
More information about the jbosstools-commits
mailing list