Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DSDP/MTJ/Remove Menu

< DSDP‎ | MTJ

Use-Case Specification: Delete menu from UI container


1. BRIEF DESCRIPTION

This use-case describes how a menu is removed from a UI container in the UI designer.


2. FLOW OF EVENTS 2.1 Basic Flow of Events

B1. The user decides to remove a menu from the UI container.
B2. The user selects the menu to be removed.
B3. The user selects the remove menu feature.
a) The system removes the menu item’s code related to the menu.
b) The system removes the code generated for the menu.
c) The system removes the menu and its sub-items from the UI design.
d) The system redraws the UI design.

2.2 Alternative flows

Exception 1: The user has created code linked to a menu outside the generated code
A1. The system shows that the code cannot be compiled and the UI design is not displayed until the errors have been fixed.
Exception 2: The code cannot be removed because the file is open in another editor
A2. The system shows an error message explaining that the code cannot be removed. Removal is cancelled.


3. SUBFLOWS


4. KEY SCENARIOS


5. PRECONDITIONS

5.1 Precondition 1: The UI Designer is open and the container class contains a menu


6. POSTCONDITIONS

6.1 Postcondition 1: The menu and its menu items are removed

The menu and its menu items are removed from the UI designer. Also, the generated code for these is removed. The undo feature is available.


7. EXTENSION POINTS


8. SPECIAL REQUIREMENTS


9. ADDITIONAL INFORMATION



Comments:


Back to main DSDP-MTJ Use Cases

Back to the top