AdobeBridgeCS5SDK

Class SnpAddPreferencesPanel

Object
   |
   +--SnpAddPreferencesPanel

class SnpAddPreferencesPanel


Shows how to add a custom option to the Preferences dialog.

Usage

  1. Run the snippet in the ExtendScript Toolkit (see Readme.txt)
  2. In Bridge, select Edit > Preferences
  3. Examine the new preferences panel added, named after this snippet.

Description

Shows how to add a custom user-preferences option to the Preferences dialog. When the user sets this value, the change takes effect immediately, but does not persist across sessions. The next time the Bridge application is restarted, the global preference value is used.
Defined in SnpAddPreferencesPanel.jsx


Field Summary
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpAddPreferencesPanel()
           
 
Method Summary
 boolean canRun()
           Determines whether snippet can be run given current context.
 Boolean run()
           Functional part of this snippet, creates an event handler that adds a new panel to the Preferences dialog, allowing the user to set a new script-defined option.

Field Detail

requiredContext

String requiredContext

Constructor Detail

SnpAddPreferencesPanel

SnpAddPreferencesPanel()

Method Detail

canRun

boolean canRun()

run

Boolean run()

AdobeBridgeCS5SDK

http://www.adobe.com/devnet/bridge
Documentation generated by JSDoc on Tue Apr 27 10:21:34 2010