beautypg.com

Dreamweaver.sitesyncdialog.canmarkput(), Dreamweaver.sitesyncdialog.canmarksynced(), Dreamweaver.snippetpalette.caneditsnippet() – Adobe Dreamweaver API Reference CS5 User Manual

Page 524

background image

519

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dreamweaver.siteSyncDialog.canMarkPut()

Availability
Dreamweaver 8.

Description
This function checks whether the Change Action to Put context menu in the Site Synchronize dialog box can be
displayed.

Arguments
None.

Returns
A Boolean value:

true

if the Change Action to Put context menu can be displayed;

false

otherwise.

dreamweaver.siteSyncDialog.canMarkSynced()

Availability
Dreamweaver 8.

Description
This function checks whether the Change Action to Synced context menu in the Site Synchronize dialog box can be
displayed.

Arguments
None.

Returns
A Boolean value:

true

if the Change Action to Synced context menu can be displayed;

false

otherwise.

dreamweaver.snippetpalette.canEditSnippet()

Availability
Dreamweaver MX.

Description
Checks whether you can edit the currently selected item and returns either a

true

or

false

value so you can enable

or disable menu items for editing.

Arguments
None.

Returns
A Boolean value:

true

if you can edit the currently selected item;

false

otherwise.