29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2.2 Using fast views<br />

1. From the menu bar, select Window -> Preferences.<br />

2. In the left panel, select File Associations under the Workbench hierarchy.<br />

3. You can then select a file extension and associate an internal or external<br />

editor for it.<br />

You can have multiple resources that use different editors open simultaneously.<br />

Switching between them in the editing pane is as easy as selecting the file name<br />

on the top bar above the editor area. If there is an asterisk (*) to the left of the file,<br />

it means that it contains unsaved changes.<br />

Tip: When you open a file and then switch perspectives, Studio Site Developer<br />

will keep the file synchronized between the perspectives. To conserve system<br />

resources it is good practice to do the following:<br />

► Close perspectives that you do not need.<br />

► Do not open multiple perspectives of the same type (it is allowed).<br />

► Close resources open in the editor area when you no longer need them<br />

open.<br />

You do not have to recustomize a perspective just to see a view that is not<br />

normally available from the perspective. You can open a view as a fast view for<br />

temporary use.<br />

Whether a view opens as a fast view or not is determined by the perspective<br />

preferences:<br />

1. Open Window -> Preferences -> Workbench -> Perspectives.<br />

2. In the Open a New View box, select As a fast view.<br />

3. Click OK to close the preference box.<br />

This setting says that if you are in a perspective and open a view (Window -><br />

Show View) that is not in the perspective, the view will be opened temporarily in<br />

the perspective. An icon representing the view will show in the shortcut bar on<br />

the left. The view will only remain in sight as long as it is current (you have the<br />

cursor in it). If you move the cursor outside the view and click, the fast view will<br />

disappear. You can bring it back by selecting the icon.<br />

For example, in Figure 3-5 on page 51, we have opened the Java Hierarchy view<br />

from within the J2EE perspective. The view initially opens in the left half of the<br />

perspective and an icon is placed in the shortcut bar.<br />

50 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!