beautypg.com

The mm folder – Adobe Extending Dreamweaver CS4 User Manual

Page 374

background image

368

EXTENDING DREAMWEAVER CS4

The Shared folder

The MM folder

The MM folder contains the shared scripts, images, and classes used by the extensions that come with Dreamweaver,
including the scripts for building a navigation bar, specifying preload calls, and defining the shortcut key definitions.

DBTreeControlClass.js

Contains functions that build a database tree control. This class is used to create and interact with a
database tree control. To create a database tree control, such as the one in the advanced recordset
server behaviors, create a special

list name to the class

constructor. Then use the

DBTreeControl

functions to manipulate the control.

dotNetUtils.js

Contains functions to facilitate working with object property inspectors, and server behaviors for
ASP.NET form controls, which are translated.

dwscripts.js

Look in this main file to find useful functions for all Dreamweaver extensions. It includes functions for
working with strings, files, design notes, and so on.

dwscriptsExtData.js

This file is an extension of the dwscripts.js file. This file facilitates working with server behaviors,
particularly with server behavior EDML files. Used extensively in Dreamweaver’s implementation of
server behaviors.

dwscriptsServer.js

This file is an extension of the dwscripts.js file. It contains functions that are specific to server models.
Many of these functions are used when working with server behaviors.

GridControlClass.js

Use this class to create and manipulate an editable grid. You add a special select list in your HTML, and
attach this class to it in JavaScript to manipulate the grid.

ImageButtonClass.js

This class makes it easy to control the Pressed/Mouse-over-while-pressed/Mouse-over/Disabled-
while-pressed look of a button.

ListControlClass.js

Contains functions that manage a