Last modified 16 years ago
Last modified on 02/02/09 19:31:25
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.
Related
- BASE_RESOURCE_COMMONS_R0
- SCENE_COMMONS_R0
- SCENE_POINT_R0
- SCENE_AUDIO_POINT_R0
- SCENE_VIDEO_POINT_R0
- APP_RESOURCE_PREVIEW_DISPLAY_R0
- BASE_RESOURCE_POINTS_R0
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.)