Adobe 38040334 - Dreamweaver CS3 User Manual page 322

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

Advertisement

• The
isCodeViewDraggable
dragged and dropped into Code view.
• The
isDesignViewDraggable
dragged and dropped into Design view.
Returns
Nothing.
Example
In the following example, the extension has a chance to handle a double-click on the tree node item; if it returns the
value
, the default behavior is to expand/collapse the nodes.
false
function handleDoubleClick(componentRec)
{
var selectedObj = dw.serverComponentsPalette.getSelectedNode();
if(dwscripts.IS_WIN)
{
if (selectedObj && selectedObj.wsRec &&
selectedObj.wsRec[ProxyGeneratorNamePropName])
{
if (selectedObj.objectType == "Root")
{
editWebService();
return true;
}
else if (selectedObj.objectType == "MissingProxyGen")
{
displayMissingProxyGenMessage(componentRec);
editWebService();
return true;
}
}
}
return false;
}
toolbarControls()
Availability
Dreamweaver MX.
Description
Every component type returns a list of
right order. Each
toolBarButtonRec
Property name
Description
Path to image file
image
disabledImage
Optional; path to disabled image searches for the toolbar button
Optional; path to pressed image searches for the toolbar button
pressedImage
Tooltip for the toolbar button
toolTipText
property is a Boolean value that indicates whether the tree node item can be
property is a Boolean value that indicates whether the tree node item can be
objects, which represents the toolbar icons, in left-to-
toolBarButtonRec
object contains the following properties:
DREAMWEAVER CS3
316
Extending Dreamweaver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents