wiki:PAGE_ELEMENT_FOCUSING_R0
Last modified 16 years ago Last modified on 01/16/09 11:34:09

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

Error: Macro TicketQuery(summary=PAGE_ELEMENT_FOCUSING_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

Pages structure can be seen and manipulated from the page structure palette, which is part of the page tab in the left flap of the book window. The page structure palette displayes all page elements in a tree structure - frames, ordered by their Z order, and their resources along with some meta information.

Task requirements

  • Page element can be selected by left mose click or arrow movement of the focus through the page structure.
  • A user should be able to select an objects from the structure palette and this way cause it to gain focus - temporarily get the highest Z order in the page.
  • When an object is selected in the page, it should be selected in the palette list as well.
  • Selecting a resource in the palette should locate it on the page.

Task result

The result of this task is source code.

Implementation idea

Use an auto property for the currently selected element of the page calculating when the focus changes.

How to demo

  • Select an element on the page and show that its representation on the page structure palette is selected too.
  • Select a frame with lower Z order through the palette - it should gain focus and appear over all other shrames.
  • Select a concrete resource and see that it is again located by gaing focus.

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