AdobeBridgeCS5SDK

Class SnpCreateTextInspectorPanel

Object
   |
   +--SnpCreateTextInspectorPanel

class SnpCreateTextInspectorPanel


Shows how to create and display an object-inspector panel using the InpsectorPanel object, with a text-type subpanel, a TextPanelette object.

Usage

  1. Run the snippet in the ExtendScript Toolkit (see Readme.txt)
  2. Select file or folder thumbnails in the Bridge Content pane
  3. Make sure you have the Inspector Panel open (Window > Inspector Panel)
  4. You should see information about the selected thumbnails in the Inspector Panel.

Description

Shows how to create an object-inspector panel using the InpsectorPanel object, with a text-type subpanel defined by a TextPanelette object.

The text subpanel demonstrates different ways of adding text: static text, and dynamic text specified with panelette markup.

After it is registered, the panel appears in all menus that list available palettes. It is displayed in its default position at the top left of the browser, when the Inspector is checked in the Window menu. Drag it to another location or change the relative sizes of palette columns to see how the text is displayed.

The key-value pairs used to populate the TextPanelette use both string literals and panelette markup to specify dynamic values.

Defined in SnpCreateTextInspectorPanel.jsx


Field Summary
 Object panelRef
          
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpCreateTextInspectorPanel()
           
 
Method Summary
 boolean canRun()
           Determines whether snippet can be run given current context.
 Boolean run()
           Functional part of this snippet.
<static> Object getDetails()
           Used to generate dynamic text for the subpanel.

Field Detail

panelRef

Object panelRef

requiredContext

String requiredContext

Constructor Detail

SnpCreateTextInspectorPanel

SnpCreateTextInspectorPanel()

Method Detail

canRun

boolean canRun()

run

Boolean run()

getDetails

<static> Object getDetails()

AdobeBridgeCS5SDK

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