wiki:BASE_LAYOUT_R0

Version 8 (modified by Tanya, 17 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Analysis

Overview

The layout of Sophie 2.0 consists of a book desktop, menu bar and flaps. Flaps may contain tabs. Tabs may 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
    • desktop
    • menu bar
  • The library should provide a method that creates the layout according to the provided extensions.
  • The constructed layout should be displayed by a concrete implementation.
  • Create an extension point for the concrete implementation.
    • The implementation should take the given structure of the layout(the model)
    • It should then display it as a set of GUI elements

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.
  • Make classes that are independent of the GUI

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

Error: Macro Include(wiki:BASE_LAYOUT_R0_LOG) failed
current transaction is aborted, commands ignored until end of transaction block