Summary: | [ltk] RefactoringWizardDialog2 dialog should use descriptive verbs instead of "OK" | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Lars Vogel <Lars.Vogel> |
Component: | UI | Assignee: | David Weiser <david.eclipse000> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | daniel_megert, david.eclipse000, Lars.Vogel, noopur_gupta |
Version: | 4.7 | Keywords: | api |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
See Also: | https://git.eclipse.org/r/90058 | ||
Whiteboard: |
Description
Lars Vogel
2017-01-31 06:53:40 EST
David, please provide a Gerrit review for the change. New Gerrit change created: https://git.eclipse.org/r/90058 I did not change the label when a yesNo-Dialog is explicitly requested. I think that would not be expected by the user, but just leave a comment if I should. (In reply to Eclipse Genie from comment #2) > New Gerrit change created: https://git.eclipse.org/r/90058 The refactoring wizard is not only used for deletion. Might be hard to find a general fitting solution. @David, I suggest to avoid working on this issue for now. (In reply to Lars Vogel from comment #4) > (In reply to Eclipse Genie from comment #2) > > New Gerrit change created: https://git.eclipse.org/r/90058 > > The refactoring wizard is not only used for deletion. Might be hard to find > a general fitting solution. @David, I suggest to avoid working on this issue > for now. The title of the dialog is already set a correct string, e.g., "Deletion" in the case of a deletion. Maybe we can use the same approach for the "OK" button? (In reply to Lars Vogel from comment #5) > (In reply to Lars Vogel from comment #4) > > (In reply to Eclipse Genie from comment #2) > > > New Gerrit change created: https://git.eclipse.org/r/90058 > > > > The refactoring wizard is not only used for deletion. Might be hard to find > > a general fitting solution. @David, I suggest to avoid working on this issue > > for now. > > The title of the dialog is already set a correct string, e.g., "Deletion" in > the case of a deletion. Maybe we can use the same approach for the "OK" > button? If I am correct, this is already done. In RefactoringWizardDialog2 the ok button label is retrieved from the provided wizard. In case of the DeleteWizard the button is set to "Delete", otherwise the default ok button is used. The attached patch adds new APIs in RefactoringWizard. Moving out of 4.8. (In reply to Lars Vogel from comment #4) > The refactoring wizard is not only used for deletion. Might be hard to find > a general fitting solution. @David, I suggest to avoid working on this issue > for now. If this is handled, please update the patch for the next release. |