Components Panel Api Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

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

Advertisement

Property name
toolTipText
isCodeViewDraggable
isDesignViewDraggable
For example, the following WebServicesClass node has web methods as its children:
this.name = "TrafficLocatorWebService";
this.image = "Components/Common/WebServices/WebServices.gif";
this.hasChildren = true;
this.toolTipText = "TrafficLocatorWebService";
this.isCodeViewDraggable = true;
// the following allows of enabling/disabling of the button that appears
// above the Component Tree
this.allowDelete = true;
this.isDesignViewDraggable = false;

Components panel API functions

This section describes the API functions for populating the Components panel.
getComponentChildren()
Availability
Dreamweaver MX.
Description
This function returns a list of child
root-level tree items, this function needs to read its metadata from its persistent store.
Arguments
{parentComponentRec}
The
parentComponentRec
expects a list of
ComponentRec
Returns
An array of
ComponentRec
Example
See
function getComponentChildren(componentRec)
nents/Common/WebServices folder.
Description
Tooltip text of the tree node item
Determines whether the item can be dragged and dropped into
the Code view.
Determines whether the item can be dragged and dropped into
the Design view.
objects for the active parent
ComponentRec
argument is the
componentRec
objects for the root node.
objects.
ComponentRec
object of the parent. If it is omitted, Dreamweaver
in the WebServices.js file in the Configuration/Compo-
DREAMWEAVER CS3
Extending Dreamweaver
Required/Optional
Optional
Optional
Optional
object. To load the
310

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents