wiki:IMAGE_CONTENT_R0

Version 32 (modified by alex, 16 years ago) (diff)

--

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

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

Image content view is a view for images which supports scenes and advanced features such as cropping, zooming, rotation and etc. Image content is a model for image content (resources).

Task requirements

  • Define an image content view.
  • It should contain a basic (supporting no advanced features) scene element representing an image.
  • Define image content.
  • It should be associated with an image resource.

Task result

The result of this task should be source code.

Implementation idea

  • Create ImageContentView which is image content view.
  • It should inherit ContentView.
  • It should be able to construct an ImageSceneElement.
  • Create ImageFrameContent wich ia a model describing images as content.
  • It should inherit FrameContent.
  • It should point to an ImageBookResource.

How to demo

  • Create CFrameView containing a Frame with ImageFrameContent.
  • The FrameView should contain an ImageContentView.
  • We should be able to view a frame with an image using scenes and the scene element from the FrameView. (Can't be created at the moment because of problems with FrameView);

Design

  • Create ImageContentView class extending ContentView. It's concrete implementation of ContentView for images.
  • It should implement the model property of ContentView with template type ImageFrameContent.
  • It should implement the element property of ContentView with template type ImageSceneElement.
  • It should implement the contentHaloMenu property of ContentView with template type ImageContentHaloMenu.
  • Create ImageFrameContent class extending FrameContent. It's concrete implementation of FrameContent for images.
  • It should implement the mainResource property of FrameContent with template type ImageBookResource.

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