Bug 518597

Summary: Allow to set the text of the OK and Cancel button for an InputDialog
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, david.eclipse000, Lars.Vogel
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Lars Vogel CLA 2017-06-21 15:36:55 EDT
Currently, InputDialog uses hard-coded OK and Cancel button labels. I suggest we add a constructor which allow us to set the button labels.

This would for example allow to label the "OK" button verb like in the Goto-line dialog.
Comment 1 Lars Vogel CLA 2017-06-21 15:37:13 EDT
David, can you have a look?
Comment 2 Dani Megert CLA 2017-06-22 03:48:22 EDT
Be careful
- how you use or interact with the existing button IDs
- that (not-existing) Javadoc of @Override methods still applies. Otherwise add an updated Javadoc.
Comment 3 Dani Megert CLA 2018-05-24 12:55:21 EDT
Removing target milestone for all bugs that are not major or above.
Comment 4 Dani Megert CLA 2018-05-25 04:06:05 EDT
> Removing target milestone for all bugs that are not major or above.

Of course I meant "major or below".

Sorry for the noise!