Elephant
oreilly.com O'Reilly Network Safari Bookshelf Conferences Sign In/My Account | View Cart   
Book List Learning Lab eDocuments O'Reilly Gear Newsletters Press Room Jobs      O'Reilly China O'Reilly France O'Reilly Germany O'Reilly Japan O'Reilly Taiwan O'Reilly UK  

 
Bioinformatics
C/C++
Databases
Digital Media
Enterprise Development
Game Development
Java
Linux/Unix
Macintosh/OS X
.NET
Open Source
Oracle
Perl
Python
Scripting
Security
SysAdmin/Networking
Web
Web Services
Windows
Wireless
XML
CD Bookshelves
Cookbooks
Developer's Notebooks
Hacks
Head First
In A Nutshell
Missing Manuals
Pocket References
Technology & Society
No Starch Press
Paraglyph Press
Pragmatic Bookshelf
SitePoint
Syngress Publishing
LinuxDevCenter.com
MacDevCenter.com
ONDotnet.com
ONJava.com
ONLamp.com
OpenP2P.com
Perl.com
WebServices.XML.com
WindowsDevCenter.com
XML.com
Ask Tim
Beta Chapters
Events
From the Editors List
Letters
Open Books
tim.oreilly.com
Academic
Corporate Services
Government
About O'Reilly
Bookstores
Catalog Request
Contact Us
International
User Groups
Writing for O'Reilly
This book qualifies for free shipping
Eclipse Cookbook
see larger cover

Eclipse Cookbook

By Steve Holzner
June 2004 
Series: Cookbooks
ISBN: 0-596-00710-8
362 pages, $44.95 US, $65.95 CA, £31.95 UK
Buy from O'Reilly: Add to Cart Read Online--Safari
Buy Online at:    

Table of Contents

Preface

1. Basic Skills
      1.1 Getting Eclipse
      1.2 Installing and Running Eclipse
      1.3 Understanding Your Workspace
      1.4 Running Multiple Eclipse Windows
      1.5 Creating a Java Project
      1.6 Managing Perspectives, Views, and Editors
      1.7 Mastering the Java Perspective
      1.8 Creating a Java Class
      1.9 Completing Code Automatically
      1.10 Running Your Code
      1.11 Running Code Snippets
      1.12 Fixing Syntax Errors Automatically
      1.13 Keeping Your Workspace Clear
      1.14 Recovering from Total Disaster

2. Using Eclipse
      2.1 Showing/Hiding Views
      2.2 Moving a View or Toolbar
      2.3 Accessing Any Project File
      2.4 Tiling Editors
      2.5 Maximizing Views and Editors
      2.6 Going Back to the Previous Editor
      2.7 Going Back to the Previous Edit Location
      2.8 Linking Views to Editors
      2.9 Reordering View and Editor Tabs
      2.10 Navigating from an Editor to a View
      2.11 Creating a Key Binding
      2.12 Displaying More Resource Information with Icons
      2.13 Using a Different Workspace
      2.14 Creating a Task
      2.15 Creating a Bookmark
      2.16 Creating a Fast View
      2.17 Customizing Help
      2.18 Restoring Deleted Resources
      2.19 Customizing a Perspective
      2.20 Restoring a Perspective
      2.21 Creating a New Perspective

3. Java Development
      3.1 Speeding Up the JDT Editor
      3.2 Creating a Java Project
      3.3 Creating Java Packages
      3.4 Creating a Java Class
      3.5 Creating a Java Method
      3.6 Overriding a Java Method
      3.7 Getting Method Parameter Hints
      3.8 Inserting Method Parameter Names
      3.9 Creating Getter/Setter Methods
      3.10 Creating Delegate Methods
      3.11 Surrounding Code with do/for/if/try/while Blocks
      3.12 Finding the Matching Brace
      3.13 Automatically Wrapping Strings
      3.14 Creating a Constructor
      3.15 Converting Constructors to Factory Methods
      3.16 Commenting Out a Section of Code
      3.17 Creating Working Sets
      3.18 Creating TODO Tasks
      3.19 Customizing Code Assist

4. Refactoring, Building, and Launching
      4.1 Renaming Elements
      4.2 Moving Elements
      4.3 Extracting and Implementing Interfaces
      4.4 Searching Code
      4.5 Comparing Files
      4.6 Comparing Files Against Local History
      4.7 Restoring Elements and Files from Local History
      4.8 Selecting the Java Runtime for Builds
      4.9 Running Your Code
      4.10 Building Your Code
      4.11 Using .jar and .class Files
      4.12 Setting the Launch Configuration

5. Testing and Debugging
      5.1 Installing JUnit
      5.2 Testing an Application with JUnit
      5.3 Starting a Debugging Session
      5.4 Setting a Breakpoint
      5.5 Stepping Through Your Code
      5.6 Running Until Encountering a Breakpoint
      5.7 Running to a Line of Code You Select
      5.8 Watching Expressions and Variables
      5.9 Setting a Hit Count for Breakpoints
      5.10 Configuring Breakpoint Conditions
      5.11 Creating Field, Method, and Exception Breakpoints
      5.12 Evaluating Expressions
      5.13 Assigning Values to Variables While Debugging
      5.14 Changing Code on the Fly

6. Using Eclipse in Teams
      6.1 Getting a CVS Server
      6.2 Creating a CVS Repository
      6.3 Connecting Eclipse to a CVS Repository
      6.4 Storing an Eclipse Project in a CVS Repository
      6.5 Committing Files to the CVS Repository
      6.6 Visually Labeling Files Under Version Control
      6.7 Examining the CVS Repository
      6.8 Checking Projects Out of a CVS Repository
      6.9 Updating Your Code from a CVS Repository
      6.10 Synchronizing Your Code with the CVS Repository
      6.11 Creating Code Patches
      6.12 Naming Code Versions
      6.13 Creating CVS Branches

7. Eclipse and Ant
      7.1 Connecting Ant to Eclipse
      7.2 Building an Eclipse Application Using Ant
      7.3 Catching Ant Build File Syntax Problems
      7.4 Using a Different Build File
      7.5 Using Your Own Version of Ant
      7.6 Setting Types and Global Properties
      7.7 Setting Ant Editor Options
      7.8 Setting Ant Arguments
      7.9 Using the Ant View
      7.10 Using Ant as an External Tool

8. SWT: Text, Buttons, Lists, and Nonrectangular Windows
      8.1 Working with SWT Widgets
      8.2 Creating an SWT Application
      8.3 Adding the Required SWT JAR Files to the Build Path
      8.4 Launching an SWT Application
      8.5 Positioning Widgets and Using Layouts
      8.6 Creating Button and Text Widgets
      8.7 Handling SWT Widget Events
      8.8 Creating List Widgets
      8.9 Creating Composite Widgets
      8.10 Creating Nonrectangular Windows
      8.11 Multithreading SWT Applications

9. SWT: Dialogs, Toolbars, Menus, and More
      9.1 Creating Message Boxes
      9.2 Creating Dialogs
      9.3 Creating Toolbars
      9.4 Embedding Buttons in Toolbars
      9.5 Handling Toolbar Events
      9.6 Embedding Combo Boxes, Text Widgets, and Menus in Toolbars
      9.7 Creating a Menu System
      9.8 Creating Text Menu Items
      9.9 Creating Image Menu Items
      9.10 Creating Radio Menu Items
      9.11 Creating Menu Item Accelerators and Mnemonics
      9.12 Enabling and Disabling Menu Items
      9.13 Creating Menu Separators
      9.14 Creating Tables
      9.15 Creating Table Columns
      9.16 Adding Check Marks to Table Items
      9.17 Enabling and Disabling Table Items
      9.18 Adding Images to Table Items
      9.19 Using Swing and AWT Inside SWT

10. SWT: Coolbars, Tab Folders, Trees, and Browsers
      10.1 Creating SWT Tab Folders
      10.2 Creating SWT Coolbars
      10.3 Adding Items to Coolbars
      10.4 Adding Drop-Down Menus to Coolbars
      10.5 Creating SWT Trees
      10.6 Handling Tree Events
      10.7 Adding Checkboxes to Tree Items
      10.8 Adding Images to Tree Items
      10.9 Creating SWT Browser Widgets

11. JSP, Servlets, and Eclipse
      11.1 Installing Tomcat
      11.2 Starting Tomcat
      11.3 Creating JSP Files
      11.4 Creating a Servlet
      11.5 Installing a Servlet in Tomcat
      11.6 Creating a Servlet in Place
      11.7 Editing web.xml in Place
      11.8 Avoiding Output Folder Scrubs
      11.9 Interfacing to JavaBeans
      11.10 Using a Tomcat Plug-in
      11.11 Creating WAR Files

12. Creating Plug-ins: Extension Points, Actions, and Menus
      12.1 Installing a Plug-in
      12.2 Creating plugin.xml
      12.3 Creating a Menu-Based Plug-in Using Wizards
      12.4 Testing Plug-ins with the Run-time Workbench
      12.5 Deploying a Plug-in
      12.6 Writing a Plug-in from a Skeleton
      12.7 Responding to User Actions in a Plug-in
      12.8 Creating a Plug-in Menu from Scratch
      12.9 Creating Actions
      12.10 Coding a Plug-in Action
      12.11 Automatically Adding a Plug-in to a Perspective

13. Creating Plug-ins: Wizards, Editors, and Views
      13.1 Creating a Plug-in That Supports Wizards and Editors
      13.2 Customizing a Wizard
      13.3 Customizing an Editor
      13.4 Creating a Plug-in That Supports Views
      13.5 Adding Items to a View
      13.6 Configuring a View's Actions

Index

Return to Eclipse Cookbook


O'Reilly Home | Privacy Policy

© 2004, O'Reilly Media, Inc.

All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.