Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "DSDP/MTJ/Add Operation Triggering"
(No difference)
|
Latest revision as of 13:46, 27 May 2008
Use-Case Specification: Add pre- and post- commands
1. BRIEF DESCRIPTION
This use-case describes how pre- and post- command handling can be added to the flow diagram. Pre- and post- command handling means that a method is called before and/or after a command/menu selection.
2. FLOW OF EVENTS
2.1 Basic Flow of Events
- B1. The user decides to add a pre- or post- command handling function.
- B2. The user selects the command/menu with menu items to which the pre- or post- command handling will be added to.
- B3. The user selects the command or menu where he wants to add the pre- or post- command.
- a) The system displays the properties for the selected command or menu.
- B4. The user opens the add pre- (or post-) command feature.
- a) The system shows a list of all available classes.
- B5. The user selects a class.
- a) The system shows a list of all available methods.
- B6. The user selects the method to be called.
- a) The system generates the required code.
- b) The system updates the flow’s code.
- c) The system redraws the flow.
2.2 Alternative Flows
3. SUBFLOWS
4. KEY SCENARIOS
5. PRECONDITIONS
5.1 Precondition 1: The Flow designer is open with a flow diagram present
The Flow designer must be open with a flow diagram present. 5.2 Precondition 2: The active flow must contain a command or a menu with menu items
The active flow diagram must contain a command or a menu with menu items since pre- and post- command handling functions are added to these.
6. POSTCONDITIONS
6.1 Postcondition 1: The command or menu item must contain a pre- and post- command handling function
The command or menu item within a menu must contain a pre- and post- command handling function that is called prior to or after the selection of this item.
7. EXTENSION POINTS
8. SPECIAL REQUIREMENTS
9. ADDITIONAL INFORMATION
Comments:
Back to main DSDP-MTJ Use Cases