The Inspector Window - Adobe GoLive CS2 Programmer's Manual

Hide thumbs Also See for GoLive CS2:
Table of Contents

Advertisement

SDK Programmer's Guide
// assume we created <jsxpalette name="myPalette" ... >
// get myPalette from the global dialogs array
var dlg = dialogs["myPalette"];
// show it if its hidden
if (dlg.visible == false)
dlg.visible = true;
Only <jsxpalette> dialogs provide this behavior. The visible property is read-only in the window
objects that <jsxinspector> or <jsxdialog> elements create.
Reading a value of true for the visible property indicates only that the palette is not hidden; it does
not guarantee that it is positioned within the boundaries of the user's screen. Dialogs that use offscreen
drawing techniques can have a visible value of true when displayed outside the boundaries of the host
system's screen. For more information, see

The Inspector window

GoLive provides a single Inspector window that all extensions share. When a
focus of input in Layout view, GoLive populates this Inspector with controls provided by the
<jsxinspector> element that has the same classid value as the box object.
Before actually displaying the new controls, the SDK calls any handler that is registered for the
inspectEvent
controls with values it retrieves from the target box object or custom element being inspected.
When the input focus changes to another object, the Inspector is repopulated with that object's controls.
Interaction with a control invokes any registered event handlers; see
The user can show or hide the current Inspector or any other palette window by choosing its name from
the
Window
in the box object or custom control object. Your handler initializes the Inspector's
menu. JavaScript callers cannot control the display of the Inspector window.
Adobe GoLive CS2 SDK
Using the Dialog Editor
Windows and Controls
tool.
box Object
becomes the
Providing Behavior for
62
Controls.

Advertisement

Table of Contents
loading

Table of Contents