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
Hi,

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

Thnaks
Ashok

[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,
IDialogConstants.CANCEL_LABEL}

as the dialogButtonLabels argument for the constructor

MessageDialog(Shell parentShell, String dialogTitle,
Image dialogTitleImage, String dialogMessage, int
dialogImageType,
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: Tue Dec 23 03:58:43 GMT 2014

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

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