Bug 518597 - Allow to set the text of the OK and Cancel button for an InputDialog
Summary: Allow to set the text of the OK and Cancel button for an InputDialog
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 15:36 EDT by Lars Vogel CLA
Modified: 2018-05-25 04:06 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!