Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IS the Dialog Which Support
IS the Dialog Which Support [message #654046] Sun, 13 February 2011 16:44 Go to next message
ash is currently offline ashFriend
Messages: 142
Registered: July 2010
Senior Member

Is there any inbuild Dialog Class which has Retry , ok, Cancel button in JFACE DIALOG?


[Updated on: Sun, 13 February 2011 17:12]

Report message to a moderator

Re: IS the Dialog Which Support [message #654131 is a reply to message #654046] Mon, 14 February 2011 08:56 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 2011-02-13 17:44, ash wrote:
> Hi,
> Is there any inbuild Dialog Class which has Retry , ok, Cancel button?

You might want to create an instance of
org.eclipse.jface.dialogs.MessageDialog and provide the array

new String[]{IDialogConstants.RETRY_LABEL, IDialogConstants.OK_LABEL,

as the dialogButtonLabels argument for the constructor

MessageDialog(Shell parentShell, String dialogTitle,
Image dialogTitleImage, String dialogMessage, int
String[] dialogButtonLabels, int defaultIndex)

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:eclipse source build problem
Next Topic:[Mac] where is the ".log" file?
Goto Forum:

Current Time: Sat May 26 04:28:38 GMT 2018

Powered by FUDForum. Page generated in 0.01519 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top