Version 4 (modified by fire4o, 17 years ago) (diff) |
---|
Analysis
(The purpose of the analysis is to give as much as possible of the needed information for designing and implementing the task.)
Overview
The layout of Sophie 2.0 consists of a book desktop, menu bar and flaps. Flaps may contain tabs. Tabs contain palettes.
Base layout is the base library of the layout so that it is independent from realization. It is sort of a layout model.
Task requirements
- Create a SophieModule for the library.
- The module should have extension points for adding different layout elements.
- Flaps
- Tabs
- List palettes
- desktops
- menu bar
- The library should provide a method that creates the layout according to the provided extensions.
- Create an extension point for the concrete implementation.
- The constructed layout should be displayed by a concrete implementation.
Task result
The result of this task should be source code.
Implementation idea
- Allow attachment of flaps tabs and palettes to make the library independent from the concrete layout elements.
- This means to add flaps and their elements dynamically
- Write a class extending SophieModule
- Create an extension point for the implementation. It should have a show (or similar) method.
Related
APP_MAIN_WINDOW_R0
APP_LAYOUT_ALTERNATIVE_R0
APP_LAYOUT_MYDOGGY_R0
How to demo
- Run Sophie 2.0 and show the layout
- remove some of the extensions and show how the layout is changed.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository)
Testing
Comments
Log