| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
Perspectives Each Workbench window contains one or more perspectives. A perspective defines the initial set and layout of views in the Workbench window. Within the window, each perspective shares the same set of editors. Each perspective provides a set of capabilities aimed at accomplishing a specific type of task or working with specific types of resources. For example, the Java perspective combines views that you would commonly use while editing Java source files, while the Debug perspective contains the views that you would use while debugging Java programs. As you work in the Workbench, you will probably switch perspectives frequently. Perspectives control what appears in certain menus and toolbars. They define visible action sets, which you can change to customize a perspective. You can save a perspective that you build in this manner, making your own custom perspective that you can open again later. You can set your Workbench preferences to open perspectives in the same window or in a new window. Opening perspectives Perspectives provide combinations of views and editors that are suited to performing a particular set of tasks. For example, you would normally open the Debug perspective to debug a Java program. To open a new perspective:
When the perpective opens, the title bar of the window it is in changes to display the name of the perspective. In addition, an icon is added to the shortcut bar, allowing you to quickly switch back to that perspective from other perspectives in the same window. By default, a perspective will open in the same window. If you would rather it opened in a new window, change the setting in Window > Preferences > Workbench > Perspectives. Switching between perspectives Open perspectives are all represented by icons on the shortcut bar (the toolbar at the left of the Workbench window). When you have more than one perspective open, you can switch between them by clicking the icons on the shortcut bar.
![]() Changing where perspectives open You can change the default behavior for how perspectives are opened in the Workbench:
Specifying the default perspective The default perspective always shows up on the Window > Open Perspective menu. The Resource perspective is the predefined default perspective. To change the default perspective:
Configuring perspectives In addition to configuring the layout of your perspective you can also control several other key aspects of a perspective. These include:
To configure a perspective:
![]() Java perspectives The Java development tools contribute the following perspectives to the workbench: Java, Java Browsing, Java Type Hierarchy, Debug. Java A perspective tuned for working with Java projects. It consists of an editor area and the following views:
![]() Java Browsing A perspective tuned for working with Java projects. It consists of an editor area and the following views:
![]() Java Type Hierarchy This perspective allows you to explore a type hierarchy. It can be opened on types, compilation units, packages, projects or source folders and consists of the Hierarchy view and an editor.
![]() Debug This perspective is tuned for debugging your Java program. It includes an editor area and the following views:
![]() Saving a user-defined perspective If you have modified a perspective by adding, deleting, or moving (docking) views, you can save your changes for future use.
The name of the new perspective is added to the Window > Open Perspective menu. Visit http://java.boot.by for the updates. |
|
|
|||||||
|
|||||||
|
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com. |
|||||||
|
Copyright © 2004. All rights reserved. |
|||||||