|
Add Buttons |
Top Previous Next |
|
eaForms supports a range of action Buttons that can be placed a form.
We divide the buttons into the following categories:
The screenshot below illustrates the available button actions (see eaForms Buttons for more details)
We also support the ability to specify the name of the button - and thus when adding a button the user is presented with the option to change the name as desired. By default if no name is specified then the "Data source" will be used as the Button name.
Note for Tab presentation - The Cancel and Detail buttons have no meaning, and the Save and Update button are effectively identical and DO NOT close the tab.
Add property to element buttons
There are buttons that exists for specific elements. For example as illustrated above, where there is a button being added to a class element, there are buttons to support adding either an attribute or an operation.
The following element specific buttons exists:
Class
Use Case
Create "associated" note or element buttons
Script buttons - Scripts can be dangerous so CHECK the operation of your script thoroughly before deploying and see eaForms Script restrictions
An experimental feature with eaForms is the inclusion of buttons which use scripts. The buttons will:
Other buttons
The following buttons have been included following requests from users, to explore their use and usefulness. Please note that there is no guarantee that they will continue to be included or supported in the future. However, if you are using these buttons and want them to be supported in the future do let us know - as well as any changes/additions that you would consider useful.
Next Package & Save Next Package - this button to open a package that has been preset by the designer (uses GUID) and when pressed will open the appropriate eaForm for the target package. Save current form and open Next Package - Saves the content of the current form before opening the target package. Next relative Package & Save Next Relative Package - this buttons will look for a target package based on stereotypes defined at design time. A parent stereotype and a child stereotype. When the button is pressed a search is made up the current package tree for the 1st package whose stereotype matches the parent stereotype and this is set as the parent package. If and only if found a search is made from the parent package down the tree for the 1st package whose stereotype matches that of the child stereotype - if found this will be the target package. The current form will be closed, and there is a target package this will be opened assuming a suitable eaForm exists. Up - this button will close the current form and open the parent package.
Note: These buttons are to demonstrate potential capability.
|