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/Change UI Style

< DSDP‎ | MTJ

Use-Case Specification: Change UI Style


1. BRIEF DESCRIPTION

The application allows the user to switch between different screen engines and UI styles (Look and Feel) for them.


2. FLOW OF EVENTS

2.1 Basic Flow of Events

B1. The user opens the UI designer for the UI container class.
a) The system lists the available UI styles for the user to select.
B2. The user decides to switch the UI style which the UI designer currently uses.
B3. The user selects the UI style he wants to use.
a) The system redraws the UI for the selected UI style, move and zoom controls as needed, and visualises the new display area. Visualisation takes care of any possible overflow indications when all controls are not (fully) visible in the new UI style.
b) If there are several screen sizes possible for the UI style, the default screen size is selected.
B4. Additionally, the user can select the screen size for the UI style (when UI style offers more than one screen size).

2.2 Alternative Flows

Alternative Flow 1: The new UI style has different resources, e.g. fonts
A1. When switching the UI style, the new style doesn’t have some resources that the current style has.
a) The system uses default resources.
Alternative Flow 2: The new UI style does not have the screen size of the current style
A2. When switching the UI style, the new style does not have the screen size that the current style uses.
a) The default screen size for the new UI style is selected and the UI is repainted accordingly.


3. SUBFLOWS


4. KEY SCENARIOS


5. PRECONDITIONS 5.1 Precondition 1: More than one UI style has been installed

To switch a UI style, the user must have more than one UI style installed. 5.2 Precondition 2: The UI designer is running

Switching between UI styles is only possible when the UI designer is running.


6. POSTCONDITIONS

6.1 Postcondition 1: The UI has been updated for a new UI style

UI components are redrawn according to the new UI style and its screen size.

6.2 Postcondition 2: The screen sizes list is updated

A list of available screen sizes is updated to show the screen sizes of the selected UI style.


7. EXTENSION POINTS


8. SPECIAL REQUIREMENTS


9. ADDITIONAL INFORMATION



Comments:


Back to main DSDP-MTJ Use Cases

Back to the top