Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Adding buttons to a Section Title (SWT)
Diarmuid Mc Donald
Greenhorn
Posts: 9
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys,
I was wanting to know how to add buttons/actions to a org.eclipse.ui.forms.widgets.Section. I am using eclipse 3.3
Any help would be greatly appreciated.
bart zagers
Ranch Hand
Posts: 234
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Are you familiar with the
FormToolkit
class, which has a createButton method.
Have you read
this
interesting article about using Forms?
Diarmuid Mc Donald
Greenhorn
Posts: 9
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I know how to create buttons. I just want to add buttons to the section title.
In the article link you gave, in the "Form text control" part, There is a question mark button in the section title. This is what I would like to know how to do.
bart zagers
Ranch Hand
Posts: 234
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Sorry,
I didn't read your problem carefully enough.
I don't have an idea how they accomplish that.
Diarmuid Mc Donald
Greenhorn
Posts: 9
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Cheers Bart,
I re-read my orignal post, and i wasnt clear. thanks for helping anyway.
If anyone else has a solution, it would be greatly appreciated. I think it was added to eclipse 3.2 or 3.3
Diarmuid Mc Donald
Greenhorn
Posts: 9
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I found an answer, It wasnt clear from the API
section.setTextClient(control)
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Convert working program to display in GUI
an array of buttons in an applet ?
About GUI
What is it with the necktie?
calling another GUI class
More...