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 11:44 Go to next message
ash is currently offline ash
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 12:12]

Report message to a moderator

Re: IS the Dialog Which Support [message #654131 is a reply to message #654046] Mon, 14 February 2011 03:56 Go to previous message
Daniel Krügler is currently offline Daniel Krügler
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: Thu Jul 31 15:54:05 EDT 2014

Powered by FUDForum. Page generated in 0.10038 seconds