The Java Developer's Guide to Eclipse

Sherry Shavor, Jim D'Anjou, Scott Fairbrother et al. · 2003

From the Book: Origin of the Book In 2000, the authors formed the core of a group within IBM called the Jumpstart team. Our team was created to share knowledge of the technology throughout IBM and with its business partners, that is, to 'jumpstart' the IBM and partner development community on Eclipse. Part of this effort included the creation of a set of presentations, lecture materials, and accompanying exercises. Over the ensuing months, as the technology matured, the presentation and exercises matured as well. As the community grew to include various companies and academic institutions, requests for this information grew as well. After every class taught, we revised and improved the materials. When our schedules could not keep pace with the demand, we adapted the materials and made them available to use in a self-study mode. This was the genesis of this book. You can think of each chapter in the book as a lesson in class. The exercises and solutions reinforce the concepts of the chapter and provide you with practice using or extending an aspect of Eclipse.Goals Our goals in bringing you this book are to: 1. Provide information for those new to Eclipse. A new user can leverage this book as a tutorial, starting with the first chapter and progressing sequentially through the book. We do not assume prior knowledge. 2. Explore the capabilities of The book will cover both using as your development environment and extending Eclipse. The chapters on using start with its use as a general development environment and then progress on to developing and debugging Java and more advanced usage topics, for exampleusing in a team environment. In the chapters in extending in Part II, we cover the most common classes for each framework. References to design patterns, where applicable, illustrate the architectural relationships among the classes. The intent is not to replace the Javadoc that is included with Eclipse, but to compliment the documentation by focusing on how to bring a set of classes together to complete a task. 3. Provide exercises and working examples that are simple and focused on the chapter topic. Our intent is not to provide a single, real world example or that the completion of all exercises will result in a single, functioning Eclipse-based tool. Instead, the exercises compliment the chapter topics and illustrate key points. The chapter text will concentrate on the concepts, outline the basic steps to accomplish a task while providing small sections of code or screen captures to best illustrate the point. The exercises will provide detailed coding instructions and screen captures to apply the concepts described in the chapter. The CD-ROM that comes with this book contains solutions to the step-by-step exercises plus additional working examples to supplement chapters in the book. 4. Provide reference material for those experienced in using Eclipse. Since the material in this book is in a modular form, you can explore each chapter individually. You may use this book as a reference guide; jumping to the chapter you are interested in exploring. 5. Promote the community Provide you with the basic knowledge of so that you can become an active participant and help grow the open source community. Though the term Eclipse conveys the image of a solar eclipse causing darkness, the intent of this book is to shed light, add clarity, and focus on a powerful new platform. Whether you are new to or one of the early adopters, we welcome you to the community.Intended Audience and Prerequisites The audience for this book includes Java programmers who plan to use as their integrated development environment (IDE), those who will use Eclipse-based offerings, advanced users who want to customize further, and tool providers that seek to develop tools that will integrate with and other Eclipse-based offerings. This book assumes that you are familiar with the Java programming language. While it describes how to use the Java development tools, it does not teach the syntax and semantics of the Java programming language. How the Book Is Organized Part I of the book applies to those using as their development environment. The book begins by covering the basic navigation and terminology of Eclipse. You will learn about the Java development environment including secrets to becoming a power user. You will learn how to use the flexibility of to maximize your productivity and fit your own personal style. Students who are studying the Java programming language may find using Eclipse, instead of simply a command line environment, a much more productive and exciting way to learn the richness and power of the Java programming language. Instructors may discover how using in the classroom will accelerate the student's mastery of the language and be a productive tool to use in research. If you are interested in extending the base with additional capabilities or building an offering based on Eclipse, then continue on reading Part II. The chapters describe how to build a plug-in and the various Java frameworks provided to make contributing additional function to easier and more consistent. It will cover how to add menu choices, toolbar buttons, views, editors, dialogs, and online documentation to Eclipse. Learning in a programming environment without actually writing code is difficult. Part III contains a series of detailed exercises to reinforce the concepts presented in the chapters. Part III depends on the files included on the CD-ROM. Template files that provide scaffolding code accompany some of the exercises. During the completion of the exercises, you will fill in the missing code. The template files include Scrapbook Page files with the file extension of .jpage. These files can be used to copy and paste into the .java files to complete the exercises without doing a lot of typing. In addition, the CD-ROM contains solutions to all of the exercises plus many code samples augmenting the mat

Cited by 119 works.

Authors