442
Chapter 19: Enablers
dreamweaver.assetPalette.canEdit()
Availability
Dreamweaver 4.
Description
Enables menu items in the Assets panel for editing.
Arguments
None.
Returns
Returns a Boolean value:
true
if the asset can be edited;
false
otherwise. Returns a
false
value
for colors and URLs in the Site list, and returns a
false
value for a multiple selection of colors
and URLs in the Favorites list.
dreamweaver.assetPalette.canInsertOrApply()
Availability
Dreamweaver 4.
Description
Checks if the selected elements can be inserted or applied. Returns either a
true
or
false
value
so the menu items can be enabled or disabled for insertion or application.
Arguments
None.
Returns
Returns a Boolean value:
true
if the selected elements can be inserted or applied;
false
if the
current page is a template and the current category is Templates. The function also returns a
false
value if no document is open or if a library item is selected in the document and the
current category is Library.
dreamweaver.canClipCopy()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Copy operation.
Arguments
None.
Returns
A Boolean value:
true
if there is any content selected that can be copied to the Clipboard;
false
otherwise.
000_DW_API_Print.book Page 442 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...