Bug 526970 - MessageDialog to set button ids as data
Summary: MessageDialog to set button ids as data
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   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-11-08 03:22 EST by Mickael Istria CLA
Modified: 2017-11-08 03:23 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-11-08 03:22:55 EST
It seems like MessageDialog, as opposed to some other JFace dialogs, does not set the typical IDialogConstants.OK_ID and other value on the button with .setData(). Adding it would make testing more robust as it would provide a generic way to reference a button independently of language or custom labels.