Enablers
133
Enablers
If the optional enablers are not supported by the source control system or the application is not
connected to the server, Dreamweaver determines when the menu items are enabled, based on the
information it has about the remote files.
bool SCS_canConnect()
Description
This function returns whether the Connect menu item should be enabled.
Arguments
None.
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_canGet()
Description
This function returns whether the Get menu item should be enabled.
Arguments
void *connectionData
,
const char
*
remotePathList[]
,
const char
*
localPathList[]
,
const int
numItems
•
The
connectionData
argument is a pointer to the agent’s data that passed into Dreamweaver
during the
Connect()
call.
•
The
remotePathList
argument is a list of remote filenames or folder paths to get.
•
The
localPathList
argument is a mirrored list of local filenames or folder paths.
•
The
numItems
argument is the number of items in each list.
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_canCheckout()
Description
This function returns whether the Checkout menu item should be enabled.
Arguments
void *connectionData
,
const char *remotePathList[]
,
const char *localPathList[]
,
const int
numItems
•
The
connectionData
argument is a pointer to the agent’s data that passed into Dreamweaver
during the
Connect()
call.
•
The
remotePathList
argument is a list of remote filenames or folder paths to check out.
•
The
localPathList
argument is a mirrored list of local filenames or folder paths.
•
The
numItems
argument is the number of items in each list.
000_DW_API_Print.book Page 133 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
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...