Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding a checkbox to TitleAreaDialog
Adding a checkbox to TitleAreaDialog [message #640295] Fri, 19 November 2010 23:04 Go to next message
No real name is currently offline No real name
Messages: 5
Registered: November 2010
Junior Member
Can anybody tell me how to add a checkbox to a title area dialog
Re: Adding a checkbox to TitleAreaDialog [message #640451 is a reply to message #640295] Mon, 22 November 2010 02:40 Go to previous message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
On 11/20/2010 05:04, gayanlggd@gmail.com wrote:
> Can anybody tell me how to add a checkbox to a title area dialog

It's unclear to me, what "add a checkbox to a title area dialog" is
supposed to mean. A checkbox is typically produced by creating an
SWT-Button control with style flag SWT.CHECK. If that is not what you
want, please elaborate.

An example how to create a TitleAreaDialog can be found here:

http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/JFacesTitl eAreaDialog.htm

or here

http://www.vogella.de/articles/EclipseJFaceTable/article.htm l

You can add you button as part of overriding the createDialogArea
method, for example.

This page shows you how you can create a Button with checkbox:

http://www.mkyong.com/swt/swt-button-example/

HTH && Greetings from Bremen,

Daniel Krügler
Previous Topic:Drop Widget in MultipageEditor PAge
Next Topic:Action enables/disables a perspective
Goto Forum:
  


Current Time: Tue Oct 08 08:12:31 EDT 2013

Powered by FUDForum. Page generated in 0.06540 seconds