wiki:APP_RESOURCE_PREVIEW_POINT_R0
Last modified 16 years ago Last modified on 02/02/09 19:31:25

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

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

There is a palette that makes preview of a resource. An extension point is needed because the palette should be able to display different kinds of resources - audio, video, image and so on.

Task requirements

  • Create an extension point for resource preview display.
  • The interface (for the extension point) should have a preview method that returns VisualElement.
  • The palette should be able to display this VisualElement.

Task result

  • The result of this task should be source code.

Implementation idea

  • Add an extension point to the base.model.resource module.
  • Create an interface (for the extension point) that has a method preview that returns VisualElement.

How to demo

  • Run Sophie 2.0
  • Select a video resource from one of the palettes with resources.
  • The resource should be previewed in the appropriate palette.
  • Select an image resource.
  • The resource should be previewed in the same palette.

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)