Eclipse is a world class Java IDE, a platform for building and integrating application development tools, and an open source project and community. Eclipse is the foundation of IBM's WebSphere Studio family of tools and of a rapidly growing number of other commercial tool and application offerings from a wide spectrum of software providers. In its first year, eclipse.org processed over three million Eclipse download requests from over 100 countries. There are over 100 open source projects based on Eclipse. Over 175 commercial organizations are developing Eclipse-based offerings.
Written by members of the IBM Jumpstart team, The JavaÖ Developer's Guide to Eclipse is the definitive Eclipse companion. Drawing on their considerable experience teaching Eclipse and mentoring developers, the authors provide guidance on how to customize Eclipse for increased productivity and efficiency and how to avoid common pitfalls.
Key coverage includes:
Eclipse navigation and terminology
Eclipse and the Java development environment
Extending Eclipse, the plug-in architecture, and Eclipse frameworks
Those new to Eclipse will benefit from the directed exercises on how to use the Eclipse platform. Advanced developers can learn how to extend Eclipse and use this book as a reference to the Eclipse frameworks.
An accompanying CD-ROM contains Eclipse SDK version 2.0, as well as exercise solutions and many code examples to make learning Eclipse easier. Whether you want to use Eclipse and Eclipse-based offerings as your integrated development environment (IDE), or customize Eclipse further, you'll find The JavaÖ Developer's Guide to Eclipse the complete ready reference.
Foreword by Dan Thomson.
Preface.
Acknowledgments.
About the Authors.
I. RUNNING ECLIPSE.
1. Getting Started.
The Software Challenge and Eclipse.
What Is Eclipse?
What Is the Common Public License?
Getting and Installing Eclipse.
The Eclipse Look.
Working in Eclipse.
A Word to IBM VisualAge Users.
Summary.
References.
2. Using Eclipse.
Getting Started.
Manipulating the User Interface.
Resource Management.
Customizing Eclipse.
More on Preferences.
Exercise Summary.
Summary.
3. Using Java Development Tools.
Getting Started.
Searching.
Writing Java Code.
Running Java Code.
Working with Java Elements.
Tuning the Performance of JDT.
More on JDT Views and Perspectives.
Exercise Summary.
Summary.
4. Debugging Java.
Overview.
The Fundamentals.
Additional Debugging Capabilities.
More on Breakpoints.
Debug Launch Configurations.
Associating Source with Your Programs.
Hot Code Replace.
Remote Debugging.
Exercise Summary.
Summary.
5. Teaming Up with Eclipse.
Eclipse Support for CVS.
General Team Support by Eclipse.
An Overview of CVS for the Novice.
The CVS User Interface in Eclipse.
Special Situations and How to Handle Them.
Additional Features.
Exercise Summary.
Summary.
References.
6. Eclipse Configuration Management.
Structure of an Eclipse Installation.
Update Manager - An Introduction.
Managing Configuration Processing.
Summary.
II. EXTENDING ECLIPSE.
7. Overview of the Eclipse Architecture.
Eclipse Platform.
Summary.
References.
8. Getting Started: Plug-in Development.
Getting Started with Plug-ins.
Getting Started with Extension and Extensions Points.
Basic Steps of Implementing a Plug-in.
Using the Plug-in Development Environment.
Exercise Summary.
Summary.
References.
9. Action Contributions: The Integration Fast Track.
Action Contribution Extension Points.
The Fundamentals of Action Contributions.
Contributing to the Workbench Menu and Toolbar.
Contributing to the View's Menu and Toolbar.
Contributing to an Editor's Menu and Toolbar.
Contributing Context Menus to View's and Editors.
Summary.
References.
10. The Standard Widget Toolkit: A Lean Mean Widget Machine.
The Basic Structure of an SWT Application
Common SWT Widgets.
Responding to Widget Events.
How to Layout SWT Widgets Using Layout Managers.
Error Handling.
Widgets Have Special Disposal Requirements.
Using Threads to Separate UI and Non-UI Activities.
An Overview of SWT Packages.
Exercise Summary.
Summary.
References.
11. Dialogs and Wizards.
DialogsYou Can Find Them Everywhere.
Extending the Preference Page Dialog to Add Your Own Tool Options.
Using Property Pages to Remember Something Special About a Resource.
Using Wizards to Extend Workbench Resource Creation and Import/Export Support.
Exercise Summary.
Summary.
References.
12. Views.
View Behavior and Architecture.
Basic Implementation Steps.
Interacting with Other Views.
Exercise Summary.
Summary.
References.
13. Editors.
Editor Behavior and Architecture.
Basic Implementation Steps.
Linking Editor and Outline View.
Exercise Summary.
Summary.
References.
14. Perspectives.
Perspectives.
Exercise Summary.
Summary.
References.
15. Workspace Resource Programming.
Resource Concepts.
Workspace API.
Resource Properties.
Processing Workspace Change Events.
Using Workspace Save Events to Save Critical Data.
Exercise Summary.
Summary.
References.
16. Managing Resources with Natures and Builders.
Customizing Project Processing.
Defining and Implementing Natures.
Implementing a Custom Builder.
Exercise Summary.
Summary.
References.
17. Resource Tagging Using Markers.
Marker Concepts.
Creating Markers for Customized Resource Tagging.
Creating New Marker Types.
Extending Markers with Help and Resolution Support.
Exercise Summary.
Summary.
References.
18. Contributions Revisited.
Example Contributions.
A Few More Contribution Nuggets.
Summary.
19. Advanced Plug-in Development.
Plug-in Class Loader.
Run-time Discovery and Delayed Loading.
Plug-in Granularity.
Plug-in Fragments.
Summary.
References.
20. Creating New Extension Points: How Others Can Extend Your Plug-in.
Overview of the Eclipse Architecture, Revisited.
How to Define New Extension Points.
How to Enable the Schema-Based New Extension Wizard.
Exercise Summary.
Summary.
References.
21. Serviceability.
Plug-in Diagnostics: System and Configuration Information.
Workbench Status Objects: A Status collector.
Exception Handling: Error Detection.
Error Dialogs: Providing Detailed Status in Error Messages.
Runtime Tracing: A Runtime Diagnostic Tool.
Using Trace In a Production Environment.
Diagnostics: A Comprehensive Error Log.
Error Logging: Writing to the Workbench Error Log.
Exercise Summary.
Summary.
22. Developing Features.
All About Features.
Feature Definition.
Feature Branding.
Building on Eclipse.
Exercise Summary.
Summary.
References.
23. Providing Help.
Integrating Your Online Documentation.
Creating Context Sensitive Help.
Running Non-integrated Help.
Customizing your Help System.
Exercise Summary.
Summary.
References.
24. OLE and ActiveX Interoperability.
COM Support in Eclipse.
COM Container Support.
OLE AutomationAccessing Extended Behavior.
Exercise Summary.
Summary of OLE Interoperability.
References.
25. Swing Interoperability.
Background on Integration of Swing and SWT.
Exercise Summary.
Summary.
References.
26. Extending the Java Development Tools (JDT).
What Is the JD