Changes between Version 5 and Version 6 of SCENE_POINT_R0


Ignore:
Timestamp:
12/16/08 03:39:19 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SCENE_POINT_R0

    v5 v6  
    3838 
    3939= Design = 
     40 * Since we need to supply at least two implementations on a scene, we will have an extension point !SceneEngine implementations. 
     41 * !SceneEngine will be an interface with a single method that provides the !JComponent to be drawn in the !PageWorkArea: 
     42 
     43{{{ 
     44public interface SceneEngine { 
     45        /** 
     46         * Transforms the object model given in the scene parameter to a graphical representation. 
     47         * @param scene 
     48         *                      The Scene object to be visualized 
     49         * @return A swing component that holds the desired graphical representation. 
     50         */ 
     51        JComponent makeSceneUIComponent(Scene scene); 
     52} 
     53}}} 
    4054 
    4155= Implementation =