Project: JDT
Bug 156822 [nls tooling] Externalizes strings dialog has wrong buttons enabled
Reported: 2006-09-10 18:55:28 | Status: resolved fixed

If you have only one string to externalize, open the Externalizes Strings Wizard. All the three buttons (Externalize, Ignore, Internalize) are enabled. But if you click on one of them, nothing happens besides they get disabled because the no string in the table is selected when the dialog opens. Now we have to ways: a) disable them at startuo if nothing is selected b) select the first entry automatically if there is only one entry In my eyes, option b) is the better approach to have a smart user interaction. I'll provide a patch for the second way tomorrow if nobody has a problem with this.

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/ExternalizeWizardPage.java