Changes between Version 4 and Version 5 of UNPLANNED_APP_RESOURCE_PREVIEW_DISPLAY_R0
- Timestamp:
- 07/07/09 13:59:36 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UNPLANNED_APP_RESOURCE_PREVIEW_DISPLAY_R0
v4 v5 27 27 * Add new method in the org.sophie2.base.media.engines.VideoEngine interface called getPreview, with one argument of type org.sophie2.base.media.interfaces.MediaSource; 28 28 * Implement this method in org.sophie2.main.media.fobs.JMFEngine; 29 * Add extension point in org.sophie2.main.func.media.MainFuncMediaModule;29 * Add new extension to sophie's extension point in org.sophie2.main.func.media.MainFuncMediaModule; 30 30 * Add new class called org.sophie2.main.func.media.view.VideoContentPreviewProvider, which: 31 31 * implements org.sophie2.main.func.resources.ResourcePreviewProvider; 32 32 * contains an inner class called VideoResourcePreview, which represents the SwingVisualElement (one JPanel, on which the preview image is drawn) and for that reason it implements SwingVisualElement and extends BaseVisualElement. Here the getPreview method is used for taking the preview image; 33 33 * contains one field of type org.sophie2.main.func.media.model.resources.VideoBookResource, which is set through the constructor of VideoResourcePreview.class. This field is used for taking the MediaSource of the concrete video resource, which is an argument of getPreview method. 34 35 [[Image(source:/branches/private/ntraykov/sophie2-platform/doc/uml-design-diagrams/VideoEngine.jpg)]] [[BR]][[BR]] 36 37 [[Image(source:/branches/private/ntraykov/sophie2-platform/doc/uml-design-diagrams/ResourcePreviewProvider.jpg)]] 34 38 35 39 = Implementation =