Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Creating a custom Dialog Box
Creating a custom Dialog Box [message #329308] Wed, 18 June 2008 16:00 Go to next message
Eclipse UserFriend
Originally posted by: gang.xu.delphi.com

Hi,
Could someone refer me to an article or tell me how to do the following?

I want a dialog box to pop up when I perform a certain action, but not any
dialog box like MessageDialog, but instead a custom one.

Does eclipse support such a custom dialog box option, where controls can
be added to it, and selecting "okay" triggers events that can be listened
to?

Thanks in advance...
Re: Creating a custom Dialog Box [message #329310 is a reply to message #329308] Wed, 18 June 2008 16:33 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Subclassing org.eclipse.jface.dialogs.Dialog should help.

--

- Prakash

www.eclipse-tips.com


Dan Xu wrote:
> Hi,
> Could someone refer me to an article or tell me how to do the following?
>
> I want a dialog box to pop up when I perform a certain action, but not
> any dialog box like MessageDialog, but instead a custom one.
>
> Does eclipse support such a custom dialog box option, where controls can
> be added to it, and selecting "okay" triggers events that can be
> listened to?
>
> Thanks in advance...
>
Re: Creating a custom Dialog Box [message #329316 is a reply to message #329308] Wed, 18 June 2008 17:22 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Dan Xu wrote:
> Hi,
> Could someone refer me to an article or tell me how to do the following?
>
> I want a dialog box to pop up when I perform a certain action, but not
> any dialog box like MessageDialog, but instead a custom one.
>
> Does eclipse support such a custom dialog box option, where controls can
> be added to it, and selecting "okay" triggers events that can be
> listened to?
>
> Thanks in advance...
>

Please don't post the same question to multiple newsgroups; they are not
linked and this makes it hard to follow the conversation.
See my response in the eclipse.newcomer newsgroup.

Eric
Previous Topic:Dynamic entries not supported in main toolbars?
Next Topic:Howto find out the ID of a View
Goto Forum:
  


Current Time: Wed Jul 31 03:19:47 GMT 2024

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

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

Back to the top