Adobe 38040334 - Dreamweaver CS3 User Manual page 146

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Specifies that the menuitem should appear only if the given Dreamweaver enabler has value
showIf
possible enablers are:
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP,
(for all versions of ColdFusion),
_SERVERMODEL_CFML
ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT,
_VIEW_EXPANDED_TABLES
means AND) between the enablers. You can specify NOT with
to appear in Code view but not for a ColdFusion page, specify the attribute as
!_SERVERMODEL_CFML".
Contents
None (empty tag).
Container
This tag must be contained in a
Example
<menuitem name="_New" key="Cmd+N" enabled="true" command="dw.createDocument()"
id="DWMenu_File_New" />
<separator>
Description
Indicates that a separator should appear at the corresponding location in the menu.
Attributes
{app}
The name of the application in which the separator is shown. Not currently used.
app
Contents
None (empty tag).
Container
This tag must be contained in a
Example
<separator />
<shortcutlist>
Description
Specifies a shortcut list in the menus.xml file.
Attributes
{app}, id, {platform}
The name of the application in which the shortcut list is available. Not currently used.
app
The ID for the shortcut list. It should be the same as the menu ID for the menu bar (or context menu) in
id
Dreamweaver that the shortcuts are associated with. Valid values are
"DWTimelineContext"
, and
. You can specify multiple enablers by placing a comma (which
_VIEW_STANDARD
tag.
menu
tag.
menu
.
, and
"DWHTMLContext"
_SERVERMODEL_CFML_UD4
. For example, if you want the menu command
"!"
showIf="_VIEW_CODE,
"DWMainWindow", "DWMainSite",
DREAMWEAVER CS3
Extending Dreamweaver
. The
true
(for UltraDev version 4 of
140

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents