wiki:FRAME_TEMPLATES_PALETTE_R0
Last modified 16 years ago Last modified on 02/03/09 00:34:07

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt
Error: Macro TicketQuery(summary=FRAME_TEMPLATES_PALETTE_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

The Frames palette is a part of the components tab in the right flap of the main window. It contains templates of different kinds of frames that can be used in a Sophie book.

Task requirements

  • The palette lists the templates – flow, non-flow, non-flow (template content), comment, comment (template content).
  • The user should be able to drag the different types of frames and drop them into the book. This should create a new frame of this type into the book.
  • If the user drops the frame template into the workspace a new book will be created and the frame will be added to it.

Task result

The result of this task is source code.

Implementation idea

Create a new frame according to the dragged template with content location - the location of the mouse cursor when the template is dropped.

FRAMES_PALETTE_R0
FRAME_TEMPLATES_R0
PAGE_TEMPLATE_BEHAVIOUR

How to demo

  • Drag and drop a frame template to create a new frame in the current book.
  • Drop a template into the workspace to create a new book.

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.)