4.A.1.5.1. Obtaining information about the "key" and "component" actions

Multiple data lists, tables, views, procedures and editing windows, has implemented a universal mechanism of action. Just activate a tab or a view and see if there is a button [Actions].
Any place where there is a button [Actions] is identified by a special key is a unique string, eg "oracle-tables-actions". Another key feature is to assign it to a specific component, such as lists or editor.

To find out what is the key component and is associated with an action button, simply hold the [Ctrl] key and move the mouse over the button. You will get the hint, in which the properties are described.

4.A.1.5.2. Configuration

Setting up actions is available Program->Settings->Plug-in settings->BeanShell->Action scripts"

Description of the list of action scripts
ColumnDescription
ScopeVisibility scope of action, "Global" - for all users, or "User" - visible only by the logged in user.
TitleTitle of action displayed on the menu when you select the [Actions]
KeyA string specifying the location (type of action) in which the action will be plugged
DriverThe driver, allows you to specify which databases, acion will be visible
ExportAllows you to save action in the form of an XML file
ImportReads the action from the disk and put it on the list
NewAllows you to create a new action script
EditAllows you to change the properties of an existing action script
DeleteAllows you to remove the action from the list

After selecting the button [New] or [Edit] available window in which you define, the nature of the action script.

Description edit the action script
PropertyDescription
Action titleAn action title, which appears in the menu when you select the [Actions]
Action keyA string specifying the location (type of action) in which the action will be plugged
TooltipA string that displays as a tooltip for the action
For driverThe driver, allows you to specify which databases, acion will be visible
Shortcut keyYou can define a shortcut key to access to action of the component associated with the type of action
BeanShell scriptBeanShell script executable. This script will be executed when you select a share on the menu.
For all usersORBADA administrator can determine the extent of visibility of the action. The action can be seen by all users or only the current working

4.A.1.5.3. Availability of program elements in the script BeanShell

In the script BeanShell is available all Java classes and objects of the program. Are also defined permanent:

PropertyDescription
selfConstant indicating the class object Interpreter BeanShell library
databaseIf you have a connection to the database, this constant is an object of class Database UseDB library
applicationAllows you to access the properties through the application's interface features IApplication of ORBADA program
componentConstant associated with the component that provides the action

4.A.1.5.4. Checking the action

To see how to share work, you must re-create the view in which the action is hooked up. To invoke the script, you should choose [Actions] menu and select the action. If you have set a keyboard shortcut, you can choose select the shortcut from a component.