Skip to content

Eclipse Cookbook Task-Oriented Solutions to over 175 Common Problems

Best in textbook rentals since 2012!

ISBN-10: 0596007108

ISBN-13: 9780596007102

Edition: 2004

Authors: Steve Holzner

List price: $44.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

You've probably heard the buzz about Eclipse, the powerful open source platform that gives Java developers a new way to approach development projects. It's like a shiny new car--no longer content to just admire Eclipse, you're now itching to get in and drive. Eclipse is to Java developers what Visual Studio is to .NET developers--it's an integrated development environment (IDE) that combines a code editor, compiler, debugger, text editor, graphical user interface (GUI) builder, and other components into a single, user-friendly application. It provides a solid foundation that enables Java developers to construct and run integrated software-development tools for web development, application…    
Customers also bought

Book details

List price: $44.95
Copyright year: 2004
Publisher: O'Reilly Media, Incorporated
Publication date: 7/13/2004
Binding: Paperback
Pages: 362
Size: 7.20" wide x 9.09" long x 0.79" tall
Weight: 1.386
Language: English

Preface
Basic Skills
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
Using Eclipse
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
Java Development
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
Refactoring, Building, and Launching
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
Testing and Debugging
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
Using Eclipse in Teams
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
Eclipse and Ant
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
SWT: Text, Buttons, Lists, and Nonrectangular Windows
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
SWT: Dialogs, Toolbars, Menus, and More
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
SWT: Coolbars, Tab Folders, Trees, and Browsers
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
JSP, Servlets, and Eclipse
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
Creating Plug-ins: Extension Points, Actions, and Menus
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
Creating Plug-ins: Wizards, Editors, and Views
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
Index