Assets panel functions
295
dreamweaver.assetPalette.edit()
Availability
Dreamweaver 4.
Description
Edits selected elements with primary external editor or Custom Edit control. For colors, the color
picker appears. For URLs, a dialog box appears and prompts the user for a URL and a nickname.
This function is not available for the Site list of colors and URLs.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.assetPalette.canEdit()” on page 442
.
dreamweaver.assetPalette.getSelectedCategory()
Availability
Dreamweaver 4.
Description
Returns the currently selected category.
Arguments
None.
Returns
The currently selected category, which can be one of the following:
"templates"
,
"library"
,
"images"
,
"movies"
,
"shockwave"
,
"flash"
,
"scripts"
,
"colors"
, or
"urls"
.
dreamweaver.assetPalette.getSelectedItems()
Availability
Dreamweaver 4.
Description
Returns an array of the selected items in the Assets panel, either in the Site or Favorites list.
Arguments
None.
000_DW_API_Print.book Page 295 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 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...