Skip to main content


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] Sat, 20 November 2010 04:04 Go to next message
No real name is currently offline No real nameFriend
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 07:40 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
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: Thu Apr 25 04:50:18 GMT 2024

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

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

Back to the top