4
Displaying ScriptUI dialogs.................................................................................................................................................33
Displaying ScriptUI elements in a navigation bar......................................................................................................33
Displaying ScriptUI elements in a custom palette.....................................................................................................33
Displaying HTML in Adobe Bridge.........................................................................................................................................34
Defining callbacks for HTML scripts ................................................................................................................................34
Executing script functions defined on HTML UI pages ............................................................................................35
Displaying HTML in Adobe Bridge dialogs ...................................................................................................................36
Communicating with Adobe Bridge from dialog JavaScript .................................................................................36
Using callbacks in an HTML dialog ..................................................................................................................................37
Calling functions defined in an HTML dialog ........................................................................................................37
Displaying HTML in a navigation bar..............................................................................................................................37
Calling functions defined in an HTML navigation bar........................................................................................37
Displaying HTML in a custom palette.............................................................................................................................38
Passing Complex Values in Remote Calls ............................................................................................................................38
Scheduling Tasks from Callbacks............................................................................................................................................38
4 Customizing the Adobe Bridge Browser Window................................................................... 40
Creating a Customized Tabbed Palette................................................................................................................................40
Script-Defined Inspector Panels..............................................................................................................................................41
Creating and displaying inspector panels ....................................................................................................................42
Specifying string values in an inspector panel............................................................................................................42
Panelette markup elements for dynamic text.......................................................................................................43
Markup examples ............................................................................................................................................................43
Extending Adobe Bridge Menus.............................................................................................................................................44
5 Extending Adobe Bridge Node-Handling Behavior................................................................ 45
Creating Script-Defined Node-Handling Extensions.......................................................................................................45
Registering your node-handling extension .................................................................................................................46
Installing a node-handling extension.............................................................................................................................46
Installation structure ......................................................................................................................................................47
Extension workspaces....................................................................................................................................................48
Shared startup scripts ....................................................................................................................................................48
Accessing the node-handling model and data...........................................................................................................48
Defining an ExtensionHandler.................................................................................................................................................49
Immediate handler operations .........................................................................................................................................49
Long-running handler operations ...................................................................................................................................49
Defining an ExtensionModel....................................................................................................................................................50
Immediate model operations............................................................................................................................................51
Long-running model operations......................................................................................................................................53
Defining Node Data Sets ..........................................................................................................................................................54
Managing the data cache ...................................................................................................................................................54
Core node data .......................................................................................................................................................................55
Defining Long-Running Operations......................................................................................................................................56
Implementing an operation...............................................................................................................................................56
Monitoring operation progress and status...................................................................................................................58
Resolving conflicts.................................................................................................................................................................59
Defining Node Searches and Filters ......................................................................................................................................61
Handling interactive node searches ...............................................................................................................................61
Implementing getSearchDefinition() .......................................................................................................................62
Implementing getBridgeUriForSearch()..................................................................................................................63
Adding filters ...........................................................................................................................................................................63
Implementing the getFilterCriteria() method .......................................................................................................64