|
SWT/JFace in Action GUI Design with Eclipse 3.0 Matthew Scarpino, Stephen Holder, Stanford Ng, and Laurent Mihalkovic 2004 | 496 pages ISBN: 1932394273 |
|||
![]() |
$22.50 | PDF ebook | |
![]() |
$44.95 | Softbound print book | |
Table of Contents
preface xv
acknowledgments xvi
about this book xviii
about the authors xxiii
about the title xxiv
about the cover illustration xxv
- Building GUIs with SWT 3, Simplifying GUI development with JFace 3
- The old standby: Swing 4, The newcomer: SWT/JFace 6, The SWT/Swing debate 9
- The Common Public License 9, Platforms supported 9
- The HelloSWT program 14, The Display class 16, The Shell class 18
- Model-based adapters 20, The HelloSWT_JFace program 21, Coding in JFace and SWT/JFace 23, The ApplicationWindow class 23
- Understanding the Widget class 28, Working with Control objects 30
- Styles and separators 33, Label methods 33
- Causing action with push buttons and SWT.PUSH 34, Moving on with arrow buttons and SWT.ARROW 35, Changing state with toggle buttons and SWT.TOGGLE 35, Choosing with check buttons and SWT.CHECK 36, Making a single choice with radio buttons and SWT.RADIO 36
- Understanding the Composite class 39, Groups 40, SashForms 43, TabFolders 44
- Creating the Ch3_Composite class 45, Creating the WidgetWindow TabFolder 46
- Using typed listeners and events 50, Adapters 54, Keyboard events 55, Customizing event processing with untyped events 58, An SWT listener/event application 60
- Understanding actions and contributions 63, Creating Action classes 65, Implementing contributions in an ApplicationWindow 66, Interfacing with contributions 69, Exploring the Action class 70
- Building the chapter 4 Composite 74 n Adding Ch4_Composite to the WidgetWindow 75
- The basic Text widget 79, The StyledText widget 82
- Obtaining the JFace text packages 88, TextViewer and Document 89, A JFace example 91
- ControlContribution 102, Creating toolbars by hand 103
- Customizing individual layout cells 114
- GridData 117
- Using FormData 120, Specifying relations using, FormAttachment 120, Laying out controls using a form layout 122
- Calculating the layout’s size 125, Laying out the widgets 126, Updating WidgetWindow 128
- Creating a GC object 134, Drawing shapes on a Canvas 136, Painting and PaintEvents 138, Clipping and Canvas styles 139
- Color development with SWT 140, Additional color capability with JFace 144
- Using fonts with SWT 145, Coding with fonts 148, Improved font management with JFace 150
- Allocating images 152, Coding graphics with images 154, Creating a bitmap with ImageData 155, Manipulating images with ImageData 159, Managing images with JFace 163
- Building the chapter 7 composite 164, Adding Ch7_Composite to the WidgetWindow 165
- Providers 170, Listeners 172, Filters and sorters 173
- SWT trees 176, JFace TreeViewers 177
- SWT lists 180, JFace ListViewers 181
- Understanding SWT tables 191, JFace TableViewers 194
- Accelerator keys 201, Creating menus in SWT 201, Using JFace actions to add to menus 204
- ColorDialog 213, DirectoryDialog 214, FileDialog 215, FontDialog 216, MessageBox 216
- Message dialogs 219, Error dialogs 220, Input dialogs 222, Progress monitor dialogs 224, Custom dialogs 228
- IDialogPage 236, IWizardPage 237, WizardPage 237
- IWizard 239, Wizard 240
- Wizard containers 241, WizardDialog 242
- WizardSelectionPage 243, IWizardNode 244
- DialogSettings 245
- The Transfer class 255, Drag-and-drop capability 256, Using the clipboard 261, The filesystem browser 262
- Preference pages 268, Field editors 270, Preference page containers 273, Persistent preferences 274
- ILabelDecorator 276, DecoratingLabelProvider 277, An example 277
- Entering data with editors 285, Displaying information with views 287, Combining editors and views with perspectives 288
- Creating and configuring an RCP project 288, Building the application class 290, Adding a WorkbenchAdvisor 291
- Building views 294, Arranging workbench windows with a perspective 295, Executing an RCP application 296, Reviewing the RCP process 297
- Using FormToolkit and the Eclipse Forms containers 299, Firing text-based events with Hyperlinks 302
- Exporting RCPExample to an application directory 306, Adding plug-ins to the application directory 307, Executing the application 308
appendix A Creating projects with SWT/JFace 311
appendix B OLE and ActiveX in SWT/JFace 324
appendix C Changeable GUIs with Draw2D 362
appendix D The Graphical Editing Framework (GEF) 388
index 461
DESCRIPTION
SWT and JFace are Eclipse's graphical libraries. They enable you to build nimble and powerful Java GUIs--but this is only the beginning. With Draw2D and the Graphical Editing Framework, you can go beyond static applications and create full-featured editors. And with the Rich Client Platform, you can build customized workbenches whose capabilities far exceed those of traditional interfaces.
SWT/JFace in Action covers the territory, from simple widgets to complex graphics. It guides you through the process of developing Eclipse-based GUIs and shows how to build applications with features your users will love. The authors share their intimate knowledge of the subject with you in a friendly, readable style.
This book encourages you to learn through action. Each topic provides extensive code to show you how SWT/JFace works in practical applications. Not only do these examples help you understand the subject, they are a working set of programs you can reuse in your own interfaces.
What's Inside
- Understanding SWT/JFace design
- Creating workbenches with the Rich Client Platform
- Building editors with Draw2D and the Graphical Editing Framework
- Integrating SWT with Microsoft's COM
- And much more
ABOUT THE AUTHORS...
Matthew Scarpino has over ten years of software design and engineering experience. He uses Eclipse to build editing software for reconfigurable computing and has submitted code for Eclipse�s graphical library. He lives in Fort Worth, TX.
Stephen Holder is a software engineer who has worked as a consultant for several large commercial and government agencies on enterprise level Java projects, including writing Eclipse plugins to streamline the development process. He currently resides in Tustin, California.
Stanford Ng is the cofounder of Nuglu, LLC and currently working on improving back-end systems at Automotive.com, a top 5 automotive e-commerce site. He is also a co-conspirator with Dr. Robert Nideffer behind the International award-winning Proxy/MAM research project.
Laurent Michalkovic is a technology consultant with 10 years' experience designing solutions in C/C++/Java/COM. He currently lives between Vancouver and Toronto, Canada.

