Class SnpAddScriptUINavBar
Object
|
+--SnpAddScriptUINavBar
- class
SnpAddScriptUINavBar
Shows how to display ScriptUI components in the bottom navigation bar.
Usage
- Run the snippet in the ExtendScript Toolkit (see Readme.txt)
- You should find this creates a bottom NavBar below the Bridge Content pane.
- Select a thumbnail in the Bridge Content pane.
Description
Defines ScriptUI user-interface components, and displays them
in the bottom navigation bar. Displays the bar for existing
browser windows, and defines an event handler to add it to
new browser windows on creation.
- An edit box shows the path to the currently selected file or folder,
and a Bridge event handler updates it when the Content page selection
changes.
- If you enter a new path and click Browse, the button's event handler
updates the Content pane, navigating to that location.
Defined in SnpAddScriptUINavBar.jsx
Field Summary |
String |
requiredContext
The context in which this snippet can run. |
Method Summary |
boolean
|
canRun()
Determines whether snippet can be run given current context.
|
boolean
|
run()
Functional part of this snippet.
|
requiredContext
String requiredContext
The context in which this snippet can run.
SnpAddScriptUINavBar
SnpAddScriptUINavBar()
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.
Defines ScriptUI user-interface components and displays them in the bottom navigation bar.
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