Changes between Version 3 and Version 4 of UNPLANNED_APP_RESOURCE_PREVIEW_DISPLAY_R0


Ignore:
Timestamp:
07/06/09 15:45:52 (16 years ago)
Author:
ntraykov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UNPLANNED_APP_RESOURCE_PREVIEW_DISPLAY_R0

    v3 v4  
    2323 
    2424= Design = 
    25 ^(Describe your design here.)^ 
     25When an user clicks on an element, which is video in the Resources palette, a preview will be shown in the Detail view palette.[[BR]] 
     26For solving this task I will do the following things: 
     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        * Implement this method in org.sophie2.main.media.fobs.JMFEngine; 
     29        * Add extension point in org.sophie2.main.func.media.MainFuncMediaModule; 
     30        * Add new class called org.sophie2.main.func.media.view.VideoContentPreviewProvider, which:  
     31         * implements org.sophie2.main.func.resources.ResourcePreviewProvider; 
     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         * 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. 
    2634 
    2735= Implementation =