|
AdobeBridgeCS5SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--SnpAddMenuItem
Shows how to add a custom menu element to Bridge.
Shows how to add a custom menu element to Bridge.
The script adds a new menu to the menu bar after the Help menu, with one menu item command. When selected, the command displays a message dialog.
The script can only be run once within a Bridge session; you must restart Bridge to run it again.
This avoids the creation of duplicate menu elements with slightly different behavior.
See:
Field Summary | |
String |
menuCommandID
The unique identifier for the menu item command |
String |
menuID
The unique identifier for the menu |
String |
requiredContext
The context in which this snippet can run; Bridge must be running. |
Constructor Summary | |
SnpAddMenuItem()
|
Method Summary | |
boolean
|
canRun()
Determines whether snippet can be run given current context. |
boolean
|
run()
Functional part of this snippet. |
Field Detail |
String menuCommandID
String menuID
String requiredContext
Constructor Detail |
SnpAddMenuItem()
Method Detail |
boolean canRun()
boolean run()
Can only run once in a session. You must restart Bridge to test any change you make in the code.
|
AdobeBridgeCS5SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |