Exforsys

WebSphere Tutorials

  1. WebSphere V5.0 : Building Expressions
  2. WebSphere V5.0 : Creating SQL statements
  3. WebSphere V5.0 : Applying DDL scripts to a remote database
  4. WebSphere V5.0 : Deploying to the database
  5. WebSphere V5.0 : Defining a table
  6. WebSphere V5.0 : Defining a database
  7. Working with Data in WebSphere
  8. WebSphere V5.0 : Debugging - JSP debugging
  9. WebSphere V5.0 : Debugging - Scrapbook Page
  10. WebSphere V5.0 : Debugging - View variables
  11. WebSphere V5.0 : Debugging - Step-through code
  12. WebSphere V5.0 : Debugging - Set breakpoints
  13. WebSphere V5.0 : Running Applications - Export J2EE applications
  14. WebSphere V5.0 : Running Applications - Run/operate server
  15. WebSphere V5.0 : Running Applications - Understand Session Manager
  16. WebSphere V5.0 : Running Applications - Configure data sources
  17. WebSphere V5.0 : Running Applications - Create server instance and server configuration
  18. WebSphere V5.0 : Web Development - Use Web Page Wizards
  19. WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
  20. WebSphere V5.0 : Web Development - Use content assist
  21. WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
  22. WebSphere V5.0 : Web Development - Understand classpath and module dependencies
  23. WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
  24. WebSphere V5.0 : Web Development - Create a web project
  25. WebSphere V5.0 : Java Development - Use property dialogues
  26. WebSphere V5.0 : Java Development - Use hierarchy view
  27. WebSphere V5.0 : Java Development - Use task view
  28. WebSphere V5.0 : Java Development - Use search function
  29. WebSphere V5.0 : Java Development - Use content assist function and declarations
  30. WebSphere V5.0 : Java Development - Use refactoring features
  31. WebSphere V5.0 : Java Development - Use Outline View and Browsing View
  32. WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
  33. WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
  34. WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
  35. WebSphere V5.0 : Workbench Basics - Work with Perspectives
  36. WebSphere V5.0 : Workbench Basics - Set workbench preferences
  37. WebSphere V5.0 : Workbench Basics - Create J2EE projects

Ads


Home arrow Reviews arrow WebSphere Tutorials

WebSphere V5.0 : Workbench Basics - Work with Perspectives

Author : Exforsys Inc.     Published on: 27th Jan 2006

WebSphere V5.0 : Workbench Basics - Work with Perspectives

In this tutorial you will learn about Workbench Basics - Work with Perspectives - Perspectives, Opening perspectives, Switching between perspectives, Changing where perspectives open, Specifying the default perspective, Configuring perspectives, Java perspectives, Java Browsing, Java Type Hierarchy, Debug and Saving a user-defined perspective.

Ads

Work with Perspectives

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:

Click the Open a Perspective button on the shortcut bar on the left side of the Workbench window. (This provides the same function as the Window > Open Perspective menu on the menu bar.)

Open Perspective

2. To see a complete list of perspectives, select Other from the drop-down menu.

3. Select the perspective that you want to open.

Select 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.

Select Perspective

Changing where perspectives open

You can change the default behavior for how perspectives are opened in the Workbench:

1. From the main menu bar, select Window > Preferences.

2. Expand the Workbench category on the left and select Perspectives. The Perspectives preferences page opens.

3. Select either In the same window or In a new window from the Open a new perspective group.

4. Click OK.

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:

1. From the main menu bar, select Window > Preferences.

2. Expand the Workbench category on the left and select Perspectives. The Perspectives preferences page opens.

3. Select the perspective that you want to define as the default, and click Make Default. The default indicator moves to the perspective that you selected.

4. Click OK.

Configuring perspectives

In addition to configuring the layout of your perspective you can also control several other key aspects of a perspective. These include:

  • The options available on the File > New submenu
    .
  • The options available on the Window > Open Perspective submenu
    .
  • The options available on the Window > Show View menu submenu
    .
  • Action sets (buttons and menu options) that show up on the toolbar and menu bar

To configure a perspective:

1. Switch to the perspective that you want to configure.

2. Select Window > Customize Perspective.

3. Expand the item that you want to customize.

4. Use the check boxes to select which elements you want to see on drop-down menus in the selected perspective. Items you do not select will still be accessible by clicking the Other menu option.

5. Click OK.

Configure 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:

  • Package Explorer
    .
  • Hierarchy
    .
  • Outline
    .
  • Search
    .
  • Console
    .
  • Tasks

Java Perspective

Java Browsing

A perspective tuned for working with Java projects. It consists of an editor area and the following views:

  • Projects
    .
  • Packages
    .
  • Types
    .
  • Members

Java Browsing Perspective

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.

Java Type Hierarchy Perspective

Debug

This perspective is tuned for debugging your Java program. It includes an editor area and the following views:

  • Debug
    .
  • Breakpoints
    .
  • Expressions
    .
  • Variables
    .
  • Display
    .
  • Outline
    .
  • Console

Debug Perspective

Ads

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.

1. Switch to the perspective that you want to save.

2. Click Window > Save Perspective As.

3. Type a new name for the perspective into the Name field.

4. Click OK.

The name of the new perspective is added to the Window > Open Perspective menu.

______________
Author: Mikalai Zaikin. Please Click Here to visit Authors site for any updates and changes to the study notes.



 
This tutorial is part of a WebSphere Tutorials tutorial series. Read it from the beginning and learn yourself.

WebSphere Tutorials

  1. WebSphere V5.0 : Building Expressions
  2. WebSphere V5.0 : Creating SQL statements
  3. WebSphere V5.0 : Applying DDL scripts to a remote database
  4. WebSphere V5.0 : Deploying to the database
  5. WebSphere V5.0 : Defining a table
  6. WebSphere V5.0 : Defining a database
  7. Working with Data in WebSphere
  8. WebSphere V5.0 : Debugging - JSP debugging
  9. WebSphere V5.0 : Debugging - Scrapbook Page
  10. WebSphere V5.0 : Debugging - View variables
  11. WebSphere V5.0 : Debugging - Step-through code
  12. WebSphere V5.0 : Debugging - Set breakpoints
  13. WebSphere V5.0 : Running Applications - Export J2EE applications
  14. WebSphere V5.0 : Running Applications - Run/operate server
  15. WebSphere V5.0 : Running Applications - Understand Session Manager
  16. WebSphere V5.0 : Running Applications - Configure data sources
  17. WebSphere V5.0 : Running Applications - Create server instance and server configuration
  18. WebSphere V5.0 : Web Development - Use Web Page Wizards
  19. WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
  20. WebSphere V5.0 : Web Development - Use content assist
  21. WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
  22. WebSphere V5.0 : Web Development - Understand classpath and module dependencies
  23. WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
  24. WebSphere V5.0 : Web Development - Create a web project
  25. WebSphere V5.0 : Java Development - Use property dialogues
  26. WebSphere V5.0 : Java Development - Use hierarchy view
  27. WebSphere V5.0 : Java Development - Use task view
  28. WebSphere V5.0 : Java Development - Use search function
  29. WebSphere V5.0 : Java Development - Use content assist function and declarations
  30. WebSphere V5.0 : Java Development - Use refactoring features
  31. WebSphere V5.0 : Java Development - Use Outline View and Browsing View
  32. WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
  33. WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
  34. WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
  35. WebSphere V5.0 : Workbench Basics - Work with Perspectives
  36. WebSphere V5.0 : Workbench Basics - Set workbench preferences
  37. WebSphere V5.0 : Workbench Basics - Create J2EE projects
 

Comments