300
Chapter 15: Page Content
dreamweaver.libraryPalette.deleteSelectedItem() (deprecated)
Availability
Dreamweaver 3; deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory()
, and then calling
dreamweaver.assetPalette.removeFromFavorites()
.
Description
This function removes the selected library item from the Library panel and deletes its associated
Dreamweaver LBI file from the Library folder at the root of the current site. Instances of the
deleted item might still exist in pages throughout the site.
Arguments
None.
Returns
Nothing.
dreamweaver.libraryPalette.getSelectedItem() (deprecated)
Availability
Dreamweaver 3; deprecated in 4 in favor of
dreamweaver.assetPalette.getSelectedItems()
.
Description
This function gets the path of the selected library item.
Arguments
None.
Returns
A string that contains the path of the library item, which is expressed as a file:// URL.
dreamweaver.libraryPalette.newFromDocument() (deprecated)
Availability
Dreamweaver 3; deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory()
, and then calling
dreamweaver.assetPalette.newAsset()
.
Description
This function creates a new library item based on the selection in the current document.
Arguments
bReplaceCurrent
•
The
bReplaceCurrent
argument is a Boolean value that indicates whether to replace the
selection with an instance of the newly created library item.
000_DW_API_Print.book Page 300 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...