-
Chapter 1 Basic Skills
-
Introduction
-
Getting Eclipse
-
Installing and Running Eclipse
-
Understanding Your Workspace
-
Running Multiple Eclipse Windows
-
Creating a Java Project
-
Managing Perspectives, Views, and Editors
-
Mastering the Java Perspective
-
Creating a Java Class
-
Completing Code Automatically
-
Running Your Code
-
Running Code Snippets
-
Fixing Syntax Errors Automatically
-
Keeping Your Workspace Clear
-
Recovering from Total Disaster
-
-
Chapter 2 Using Eclipse
-
Introduction
-
Showing/Hiding Views
-
Moving a View or Toolbar
-
Accessing Any Project File
-
Tiling Editors
-
Maximizing Views and Editors
-
Going Back to the Previous Editor
-
Going Back to the Previous Edit Location
-
Linking Views to Editors
-
Reordering View and Editor Tabs
-
Navigating from an Editor to a View
-
Creating a Key Binding
-
Displaying More Resource Information with Icons
-
Using a Different Workspace
-
Creating a Task
-
Creating a Bookmark
-
Creating a Fast View
-
Customizing Help
-
Restoring Deleted Resources
-
Customizing a Perspective
-
Restoring a Perspective
-
Creating a New Perspective
-
-
Chapter 3 Java Development
-
Introduction
-
Speeding Up the JDT Editor
-
Creating a Java Project
-
Creating Java Packages
-
Creating a Java Class
-
Creating a Java Method
-
Overriding a Java Method
-
Getting Method Parameter Hints
-
Inserting Method Parameter Names
-
Creating Getter/Setter Methods
-
Creating Delegate Methods
-
Surrounding Code with do/for/if/try/while Blocks
-
Finding the Matching Brace
-
Automatically Wrapping Strings
-
Creating a Constructor
-
Converting Constructors to Factory Methods
-
Commenting Out a Section of Code
-
Creating Working Sets
-
Creating TODO Tasks
-
Customizing Code Assist
-
-
Chapter 4 Refactoring, Building, and Launching
-
Introduction
-
Renaming Elements
-
Moving Elements
-
Extracting and Implementing Interfaces
-
Searching Code
-
Comparing Files
-
Comparing Files Against Local History
-
Restoring Elements and Files from Local History
-
Selecting the Java Runtime for Builds
-
Running Your Code
-
Building Your Code
-
Using .jar and .class Files
-
Setting the Launch Configuration
-
-
Chapter 5 Testing and Debugging
-
Introduction
-
Installing JUnit
-
Testing an Application with JUnit
-
Starting a Debugging Session
-
Setting a Breakpoint
-
Stepping Through Your Code
-
Running Until Encountering a Breakpoint
-
Running to a Line of Code You Select
-
Watching Expressions and Variables
-
Setting a Hit Count for Breakpoints
-
Configuring Breakpoint Conditions
-
Creating Field, Method, and Exception Breakpoints
-
Evaluating Expressions
-
Assigning Values to Variables While Debugging
-
Changing Code on the Fly
-
-
Chapter 6 Using Eclipse in Teams
-
Introduction
-
Getting a CVS Server
-
Creating a CVS Repository
-
Connecting Eclipse to a CVS Repository
-
Storing an Eclipse Project in a CVS Repository
-
Committing Files to the CVS Repository
-
Visually Labeling Files Under Version Control
-
Examining the CVS Repository
-
Checking Projects Out of a CVS Repository
-
Updating Your Code from a CVS Repository
-
Synchronizing Your Code with the CVS Repository
-
Creating Code Patches
-
Naming Code Versions
-
Creating CVS Branches
-
-
Chapter 7 Eclipse and Ant
-
Introduction
-
Connecting Ant to Eclipse
-
Building an Eclipse Application Using Ant
-
Catching Ant Build File Syntax Problems
-
Using a Different Build File
-
Using Your Own Version of Ant
-
Setting Types and Global Properties
-
Setting Ant Editor Options
-
Setting Ant Arguments
-
Using the Ant View
-
Using Ant as an External Tool
-
-
Chapter 8 SWT: Text, Buttons, Lists, and Nonrectangular Windows
-
Introduction
-
Working with SWT Widgets
-
Creating an SWT Application
-
Adding the Required SWT JAR Files to the Build Path
-
Launching an SWT Application
-
Positioning Widgets and Using Layouts
-
Creating Button and Text Widgets
-
Handling SWT Widget Events
-
Creating List Widgets
-
Creating Composite Widgets
-
Creating Nonrectangular Windows
-
Multithreading SWT Applications
-
-
Chapter 9 SWT: Dialogs, Toolbars, Menus, and More
-
Introduction
-
Creating Message Boxes
-
Creating Dialogs
-
Creating Toolbars
-
Embedding Buttons in Toolbars
-
Handling Toolbar Events
-
Embedding Combo Boxes, Text Widgets, and Menus in Toolbars
-
Creating a Menu System
-
Creating Text Menu Items
-
Creating Image Menu Items
-
Creating Radio Menu Items
-
Creating Menu Item Accelerators and Mnemonics
-
Enabling and Disabling Menu Items
-
Creating Menu Separators
-
Creating Tables
-
Creating Table Columns
-
Adding Check Marks to Table Items
-
Enabling and Disabling Table Items
-
Adding Images to Table Items
-
Using Swing and AWT Inside SWT
-
-
Chapter 10 SWT: Coolbars, Tab Folders, Trees, and Browsers
-
Introduction
-
Creating SWT Tab Folders
-
Creating SWT Coolbars
-
Adding Items to Coolbars
-
Adding Drop-Down Menus to Coolbars
-
Creating SWT Trees
-
Handling Tree Events
-
Adding Checkboxes to Tree Items
-
Adding Images to Tree Items
-
Creating SWT Browser Widgets
-
-
Chapter 11 JSP, Servlets, and Eclipse
-
Introduction
-
Installing Tomcat
-
Starting Tomcat
-
Creating JSP Files
-
Creating a Servlet
-
Installing a Servlet in Tomcat
-
Creating a Servlet in Place
-
Editing web.xml in Place
-
Avoiding Output Folder Scrubs
-
Interfacing to JavaBeans
-
Using a Tomcat Plug-in
-
Creating WAR Files
-
-
Chapter 12 Creating Plug-ins: Extension Points, Actions, and Menus
-
Introduction
-
Installing a Plug-in
-
Creating plugin.xml
-
Creating a Menu-Based Plug-in Using Wizards
-
Testing Plug-ins with the Run-time Workbench
-
Deploying a Plug-in
-
Writing a Plug-in from a Skeleton
-
Responding to User Actions in a Plug-in
-
Creating a Plug-in Menu from Scratch
-
Creating Actions
-
Coding a Plug-in Action
-
Automatically Adding a Plug-in to a Perspective
-
-
Chapter 13 Creating Plug-ins: Wizards, Editors, and Views
-
Introduction
-
Creating a Plug-in That Supports Wizards and Editors
-
Customizing a Wizard
-
Customizing an Editor
-
Creating a Plug-in That Supports Views
-
Adding Items to a View
-
Configuring a View's Actions
-
-
Colophon
- Title:
- Eclipse Cookbook
- By:
- Steve Holzner
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- June 2004
- Pages:
- 368
- Print ISBN:
- 978-0-596-00710-2
- | ISBN 10:
- 0-596-00710-8
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Eclipse Cookbook are pole shrimp (Macrobrachium rosenbergii). These crustaceans can be found in freshwater streams and waterholes as well as in the brackish water and estuaries of the Indo-Pacific region.
Shrimp are similar to crayfish, but their arms are long with fine claws. As with most arthropods, a pole shrimp has an exoskeleton; instead of muscles connected over a bony internal skeleton, its muscles attach underneath, on the rigid, calcium-impregnated carapace. Six long feelers covered with chemoreceptor cells allow the shrimp to detect the smell of food in the water. The pole shrimp continually uses these feelers to scrub itself, removing pieces of dirt that may affect its function.
Like all crustaceans, pole shrimp grow through molting. Before molting, they grow a new shell beneath their old one; this new carapace is soft and somewhat folded, something like an empty balloon. The new carapace inflates with water, splitting the old one at the weakened points. The old carapace splits in half, and the entire head section slides out of the old shell. A sharp flick of the tail leaves the old exoskeleton lying at the bottom of the sea. Mary Anne Weeks Mayo was the production editor and proofreader, and Audrey Doyle was the copyeditor for Eclipse Cookbook. Phil Dangler and Emily Quill provided quality control. Jamie Peppard and Mary Agner provided production assistance. Tom Dinse wrote the index.
Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from Cuvier's Animals. Emma produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was compiled by Mary Anne Weeks Mayo.
