syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE html |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 3 | PUBLIC "-//IETF//DTD HTML 4.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 | <html><head> |
syeshin | 916fe23 | 2005-09-22 19:15:50 +0000 | [diff] [blame] | 5 | <!-- /******************************************************************************* |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 6 | * Copyright (c) 2000, 2006 IBM Corporation and others. |
syeshin | 916fe23 | 2005-09-22 19:15:50 +0000 | [diff] [blame] | 7 | * All rights reserved. This program and the accompanying materials |
| 8 | * are made available under the terms of the Eclipse Public License v1.0 |
| 9 | * which accompanies this distribution, and is available at |
| 10 | * http://www.eclipse.org/legal/epl-v10.html |
| 11 | * |
| 12 | * Contributors: |
| 13 | * IBM Corporation - initial API and implementation |
| 14 | *******************************************************************************/ --> |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 15 | <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css"/> |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 16 | <title>Workbench integration with Web editors</title> |
syeshin | 6607827 | 2005-09-20 16:53:38 +0000 | [diff] [blame] | 17 | </head> |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 18 | <body id="cwwedtvw"><a name="cwwedtvw"><!-- --></a> |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 19 | <h1 class="topictitle1">Workbench integration with Web editors</h1> |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 20 | <div><p>There are several editors for use in various contexts for various file |
| 21 | types. To edit a file using its default editor, double-click on the file name |
| 22 | in the Project Explorer view, or right-click on the file and select <b>Open</b>. |
| 23 | The editor that is last used to open a file becomes the default for that particular |
| 24 | file. To edit the file with a different editor, right-click on the file and |
| 25 | select <b>Open With</b> to choose from a list of available |
| 26 | editors.</p> |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 27 | <p>In the workbench, you can associate file-name extensions for different |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 28 | types of resources with various editors. A resource extension can have more |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 29 | than one editor associated with it; the last editor used for a particular |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 30 | extension type is indicated by a black dot before it in the <b>Open |
| 31 | With</b> pop-up menu. You can associate extensions that are known |
| 32 | to the workbench with additional editors, by using the <strong>File Associations</strong> preferences |
| 33 | page, accessed by selecting <span class="menucascade"><b>Window</b> > <b>Preferences</b> > <b>Workbench</b> > <b>File Associations</b></span>.</p> |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 34 | <div class="p">The Properties view provides general capabilities that are advantageous |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 35 | to Web editor users. <dl><dt class="dlterm">Properties view</dt> |
| 36 | <dd>The Properties view (<span class="menucascade"><b>Window</b> > <b>Show |
| 37 | View</b> > <b>Properties</b></span>) contains |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 38 | a list of attributes and editable attribute values. For example, when you |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 39 | select an image tag <b>img</b> , the width and height values |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 40 | appear for editing. In addition, any other attributes allowed by the standard |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 41 | specified in the DOCTYPE for the file (such as the HTML 4.0.1 DTD) are listed. |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 42 | When you click the value column of a property, you can select from among the |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 43 | list of available attribute values. <p>The pop-up menu in the Properties view |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 44 | enables you to undo, cut, copy, paste, delete, and select all. The options |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 45 | that are available at a given time depends on where the cursor is located |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 46 | when you right-click to display the pop-up menu. To see the pop-up menu that |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 47 | contains undo, cut, and so on, the property value field must be active. (This |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 48 | is accomplished by selecting the property and then selecting its value.) Otherwise, |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 49 | the pop-up menu will contain different options.</p> |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 50 | <p>Use the <b>Restore |
| 51 | Default Value</b> button to change any value back to the default setting.</p> |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 52 | <p>After |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 53 | you are in the Properties view, you can modify other property values for specific |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 54 | tags. To edit another tag using the Properties view, move the cursor within |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 55 | the editing area of the Source page or Design page to the tag you want to |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 56 | edit. The appropriate properties and values are displayed in the Properties |
syeshin | 30fe03d | 2005-09-01 14:44:04 +0000 | [diff] [blame] | 57 | view.</p> |
| 58 | </dd> |
| 59 | </dl> |
| 60 | </div> |
| 61 | </div> |
syeshin | 916fe23 | 2005-09-22 19:15:50 +0000 | [diff] [blame] | 62 | </div> |
lmandel | 49d6a1a | 2006-01-23 07:32:18 +0000 | [diff] [blame] | 63 | </body></html> |