SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
The Definitive Guide to Eclipse Rich Client DevelopmentIn Eclipse Rich Client Platform, Second Edition, three Eclipse Rich Client Platform (RCP) project leaders show how to use Eclipse 3.5 (“Galileo”) to rapidly deliver cross-platform applications with rich, native-feel GUIs.
The authors fully reveal the power of Eclipse as a desktop application development platform; introduce important new improvements in Eclipse 3.5; and walk through developing a full-featured, branded RCP application for Windows, Linux, Mac, and other platforms—including handheld devices and kiosks.
Drawing on their extensive experience, the authors cover building, refining, and refactoring prototypes; customizing user interfaces; adding help and software management features; and building, branding, testing, and shipping finished software. They demonstrate current best practices for developing modular and dynamically extensible systems, using third-party code libraries, packaging applications for diverse environments, and much more.
For Java programmers at all levels of experience, this book
Hands-on, pragmatic, and comprehensive, this book offers all the real-world, nontrivial code examples working developers need—as well as “deep dives” into key technical areas that are essential to your success.
Foreword xxi
Preface xxv
Acknowledgments xxix
About the Authors xxxi
Part I: Introduction 1
Chapter 1: Eclipse as a Rich Client Platform 3
1.1 Eclipse 5
1.2 The Eclipse Rich Client Platform 5
1.3 Eclipse RCP over the Years 6
1.4 Uses of RCP 7
1.5 Summary 12
1.6 Pointers 13
Chapter 2: Eclipse RCP Concepts 15
2.1 A Community of Plug-ins 15
2.2 Inside Plug-ins 18
2.3 Putting a System Together 19
2.4 OSGi Framework 20
2.5 Equinox 21
2.6 Standard Widget Toolkit (SWT) 25
2.7 JFace 25
2.8 UI Workbench 25
2.9 Summary 27
2.10 Pointers 27
Part II: RCP by Example 29
Chapter 3: Tutorial Introduction 31
3.1 What Is Hyperbola? 31
3.2 The Evolution of Hyperbola 32
3.3 Development Environment Installation 33
3.4 Sample Code 34
3.5 Target Platform Setup 36
3.6 Learning by Example 42
3.7 Summary 44
3.8 Pointers 44
Chapter 4: The Hyperbola Application 45
4.1 Hyperbola “Hello, World” 45
4.2 Tour of the Code 51
4.3 Running and Debugging 55
4.4 Summary 62
4.5 Pointers 62
Chapter 5: Starting the Hyperbola Prototype 63
5.1 Continuing from the Shell 64
5.2 Adding a Contacts View 65
5.3 The Chat Model 70
5.4 Filling in the Contacts View 72
5.5 Adding Images 78
5.6 Summary 81
5.7 Pointers 82