Class SnpCreateTabbedPaletteScriptUI
Object
|
+--SnpCreateTabbedPaletteScriptUI
- class
SnpCreateTabbedPaletteScriptUI
Shows how to create a TabbedPalette in Bridge with ScriptUI components.
Usage
- Run the snippet in the ExtendScript Toolkit (see Readme.txt), with Bridge CS5 as the target.
- You should find that a tabbed palette has been added to the Bridge browser window.
Description
Adds a script-defined tabbed palette to the Bridge browser window.
The palette is of the "script" type, and contains ScriptUI components,
text fields and buttons. The buttons have event handlers that
change the values in the text fields.
The new palette appears in the default upper-left position in the browser. It can be
dragged to other positions.
See:
Defined in SnpCreateTabbedPaletteScriptUI.jsx
Method Summary |
boolean
|
canRun()
Determines whether snippet can be run given current context.
|
Boolean
|
run()
Functional part of this snippet.
|
paletteRefs
Object paletteRefs
requiredContext
String requiredContext
The context in which this snippet can run.
SnpCreateTabbedPaletteScriptUI
SnpCreateTabbedPaletteScriptUI()
canRun
boolean canRun()
Determines whether snippet can be run given current context. The snippet
fails if these preconditions are not met:
- Must be running in Bridge
Returns:
True is this snippet can run, false otherwise
run
Boolean run()
Functional part of this snippet.
Creates the TabbedPalette object, defining the content with
ScriptUI components, and adds the palette to all open Bridge browser windows.
Returns:
True if the snippet ran as expected, false otherwise.
http://www.adobe.com/devnet/bridge
Documentation generated by
JSDoc on Tue Apr 27 10:21:34 2010