Adobe GoLive CS2 Programmer's Manual page 146

Hide thumbs Also See for GoLive CS2:
Table of Contents

Advertisement

SDK Programmer's Guide
The GoLive CS2 SDK provides an API you can use to extend this dialog, in order to provide settings for
connection to a new version-control system. When an extension provides this connection information, the
new system is added to the pop-up list of available systems.
Use the <jsxvcs> tag to specify your own panel in the version-control Settings dialog. This tag contains a
<jsxview> element, which in turn contains the controls you need. For details of how to create panels
and controls, and define their behavior, see
For example, this code from the Perforce module ( GoLive_dir/Modules/ExtendScripts/VCSp4 ),
creates a panel with a number of controls, and a dialog that one of those controls invokes:
<jsxvcs name="p4golive" title="Perforce" features="foldercontent users">
<jsxview name="vcstest" halign="scale" valign="scale"
</jsxview>
</jsxvcs>
<p><b>Client Specifications dialog:</b></p>
<jsxdialog name="dlgChooseSpec" title="Client Specifications"
height="80" width="325">
<jsxcontrol name="staticPort" type="static" value="Port"
posx="0" posy="5" width="75" height="20"/>
<jsxcontrol name="editPort" type="edit" value="1666"
posx="75" posy="0" width="100" height="20" onChange="true"/>
<jsxcontrol name="staticSpec" type="static" value="Client Spec"
posx="0" posy="30" width="75" height="20"/>
<jsxcontrol name="editSpec" type="edit" value=""
posx="75" posy="30" width="150" height="20"/>
<jsxcontrol name="btnSpecs" type="button" value="..."
posx="230" posy="30" width="40" height="19"/>
width="170" height="85">
Adobe GoLive CS2 SDK
Chapter 5, "Windows and
Managing Web Sites
Controls."
146

Advertisement

Table of Contents
loading

Table of Contents