q 2.2(a) Locate the IDE.
Unlike many Windows programs, Eclipse does not automatically add an option to the Start button. Instead, to start the IDE, you first need to navigate to the correct folder using Windows Explorer, as shown in Figure 2.12.
Figure 2.12:
The Eclipse folder, indicating the launch icon for the IDE.
At this point, you may want to make a shortcut icon that you can place either on your desktop or in your start menu. Personally, I use the Microsoft Office quick launcher. I just drop the icon on the bar and it's there for me whenever I need it.
q 2.2(b) Right-click the IDE icon and select Create Shortcut.
Figure 2.13:
Use the pop-up menu to create a shortcut for the IDE icon.
A new icon will appear, which will look exactly like the IDE icon, but with an arrow on the bottom left indicating that this is a shortcut. You can now move this shortcut icon wherever you want to allow easy access to the program.
Figure 2.14:
The Eclipse folder, indicating the launch icon for the IDE.
q 2.2(c) Start the IDE.
| Note |
|
q 2.2(d) Wait for the IDE workbench to appear.
On the machine used for this book, a 1.6GHz Pentium 4, the splash screen stayed up for about 12 seconds. Then the screen shown in Figure 2.17 appeared.
Figure 2.17:
Success! The Eclipse IDE in its default configuration!
Everything in Eclipse is done through the workbench. The workbench is
First, I'll point out the different
In the
First, I'll review the basic
Figure 3.1:
The Eclipse IDE Workbench, with its individual components broken out.
The basic workbench, no matter what perspective you use, consists of a
The default perspective is the Resource perspective, which basically treats all resources as text files.
The bars tend to stay the same from one perspective to the
Title Bar: This is the standard Windows title bar (or whatever operating system you happen to be running Eclipse under). The title bar always displays the
Menu Bar: This is the overall Eclipse menu bar, which allows you to do all manner of general
Tool Bar: This is the overall Eclipse tool bar, which also allows you to perform both general tasks and specific tasks for selected items.
Perspective Bar: The perspective bar allows you to switch quickly between open perspectives or to
Status Bar: This line typically displays information about the selected item, although it can contain additional information depending on the task you're currently performing. For example, when you're in a text editor, the status bar might show the current position within the document.
There are two types of panels: views and editors.
Views: Views show groups of
Editors: Editors are just what the name implies: tools to edit documents. These documents can be program source or runtime configurations ” basically, anything that can be edited.
Views are lists of items. They can be the resources in a project; in which case the view is
Note that some views come with their own toolbars. These
As opposed to views, which can be rather free-form, editors are quite focused. They generally provide context-sensitive, syntax-aware editing for the selected resource. While the open-source Eclipse project really only has a single editor (the Java editor), IBM has written many more editors, and many of these are available in the WebSphere Development Studio client. They include editors for everything from RPG to COBOL, from JavaServer Pages to Cascaded Style Sheets.
There are also a number of third-party editors,