wiki:APP_BASIC_MENUS_R0

Version 5 (modified by sriggins, 16 years ago) (diff)

--

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

Error: Macro TicketQuery(summary=APP_BASIC_MENUS_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

Define what menus are needed for Sophie. Try to keep the menus as clean and understandable as possible.

Refactor the menus for Sophie to use the new base menu library developed in BASE_MENUS_R0. The current menus are found in org.sophie2.main.view.menus. This code should be changed to use the new extension point.

Task requirements

  • Define the base application menus
  • Using the new base menu module BASE_MENUS_R0, refactor class MainMenuBar to use the new extension points
  • Document an example of using the new library to build the application menus

Task result

The result of this task is code and menu design

Implementation idea

  • File
    • New Book (control-n)
    • Open Book (control-o)
    • Separator
    • Close Book (control-w)
    • Save Book (control-s)
    • Separator
    • Save As Template
    • Book Properties
    • Separator
    • Quit Sophie2 (control-q)
  • Edit
    • Undo (control-z)
    • Redo (control-shift-z)
    • Separator
    • Cut (control-x)
    • Copy (control-c)
    • Paste (control-v)
    • Delete
    • Separator
    • Book Title (no need for "set" as it is implied by being in the Edit menu)
    • Page Dimensions
  • Insert
    • Text (control-alt-t)
    • Image (control-alt-i)
    • Video (control-alt-v)
    • Audio (control-alt-a)
  • View
    • Full Screen (control-f)
    • Reader Mode (control-r) (I am not sure if this is what kyli meant by preview)
  • Window
    • Cascade
    • Tile
    • Separator
    • <List Open Books>
  • Help
    • About Sophie

BASE_MENUS_R0

How to demo

  • Show the code using the extension points to create the application menus
  • Show the documentation page that describes how you used the new library, what you liked and disliked

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)