The following can be customized in an Organize browser:
• | Toolbar |
• | Context menu |
• | Custom actions for typical lifecycle operations. These can be either pre or post of typical lifecycle operations. |
|
The typical toolbar customization script is shown below. The core application expects a return value of one to show the toolbar from a procedure named ::namespace::ShowHideCustomToolbar. A return value of zero will hide the toolbar. You can use the standard hwt commands to create label combinations or icons to do specific jobs. |
A typical context menu customization procedure is shown below. The core application runs the procedure ::namespace::CtxMenuAddCustomItems to add the custom context menus. The arguments objBrowser, menu and obj values are passed to this procedure by core. |
The following are the exposed hook ups for pre and post actions. All of the below procedures should be under one .tcl file, as recommended.
Argumentsgdm- Generic data manager handle. See DMDirector_OpenWorkspace. ci- Content interface handle. See ContentInterfaceList_at. The above arguments are passed from the core. Return values: 0 or “ ”- Will continue Check-In operation. 1 - Will abort Check-In operation. For example, if you have not provided certain information or a certain metadata value extraction fails.
Return values: None
Return values: 0 or “ ”- Will continue Check-Out operation. 1 - Will abort Check-Out operation.
Return values: None
Return values:
Return values: None
Return values 0 or “ ”- Will continue Get operation. 1 - Will abort Get operation. 2 - Operation is implemented in custom refresh proc.
Return values: None |