blob: d3733dd03f3252c6537c4843a718f7f1f0d1db94 [file] [log] [blame]
kprice9c922d82006-08-30 22:07:19 +00001<?xml version="1.0" encoding="utf-8"?>
kprice96ee3b52008-05-15 00:05:07 +00002<!--Arbortext, Inc., 1988-2006, v.4002-->
kprice9c922d82006-08-30 22:07:19 +00003<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
4 "concept.dtd">
5<concept id="cwwedtvw" xml:lang="en-us">
6<title>Workbench integration with Web editors</title>
kprice96ee3b52008-05-15 00:05:07 +00008<keywords><indexterm keyref="cwwedtvw|1|Webeditorsworkbenchintegration" status="changed">workbench<indexterm>Web
kprice9c922d82006-08-30 22:07:19 +000010</metadata></prolog>
12<p>There are several editors for use in various contexts for various file
13types. To edit a file using its default editor, double-click on the file name
14in the Project Explorer view, or right-click on the file and select <uicontrol>Open</uicontrol>.
15The editor that is last used to open a file becomes the default for that particular
16file. To edit the file with a different editor, right-click on the file and
17select <uicontrol>Open With</uicontrol> to choose from a list of available
19<p>In the workbench, you can associate file-name extensions for different
20types of resources with various editors. A resource extension can have more
21than one editor associated with it; the last editor used for a particular
22extension type is indicated by a black dot before it in the <uicontrol>Open
23With</uicontrol> pop-up menu. You can associate extensions that are known
24to the workbench with additional editors, by using the <b>File Associations</b> preferences
25page, accessed by selecting <menucascade><uicontrol>Window</uicontrol><uicontrol>Preferences</uicontrol>
26<uicontrol>Workbench</uicontrol><uicontrol>File Associations</uicontrol></menucascade>.</p>
27<p>The Properties view provides general capabilities that are advantageous
28to Web editor users. <dl><dlentry>
29<dt>Properties view</dt>
30<dd>The Properties view (<menucascade><uicontrol>Window</uicontrol><uicontrol>Show
31View</uicontrol><uicontrol>Properties</uicontrol></menucascade>) contains
32a list of attributes and editable attribute values. For example, when you
33select an image tag <uicontrol>img</uicontrol> , the width and height values
34appear for editing. In addition, any other attributes allowed by the standard
35specified in the DOCTYPE for the file (such as the HTML 4.0.1 DTD) are listed.
36When you click the value column of a property, you can select from among the
37list of available attribute values. <p>The pop-up menu in the Properties view
38enables you to undo, cut, copy, paste, delete, and select all. The options
39that are available at a given time depends on where the cursor is located
40when you right-click to display the pop-up menu. To see the pop-up menu that
41contains undo, cut, and so on, the property value field must be active. (This
42is accomplished by selecting the property and then selecting its value.) Otherwise,
43the pop-up menu will contain different options.</p> <p>Use the <uicontrol>Restore
44Default Value</uicontrol> button to change any value back to the default setting.</p> <p>After
45you are in the Properties view, you can modify other property values for specific
46tags. To edit another tag using the Properties view, move the cursor within
47the editing area of the Source page or Design page to the tag you want to
48edit. The appropriate properties and values are displayed in the Properties