31 | | |
| 31 | * We will use the Composite design pattern to build our model. |
| 32 | * Here is the UML diagram for the object model |
| 33 | [[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/SceneObjectModel.png)]] [[BR]] |
| 34 | * Each element's graphic will have its own coordiante system |
| 35 | * Each element contains an affine transformation that will position the element at the correct place. |
| 36 | * Element style is supposed hold information about borders, opacity, shadows, etc. |
| 37 | * There will be Scene objects. They'll hold the information about the whole scene and should be implemented as instances of the CompositeElement class. |
| 38 | * Swing element provisioning mechanism should be provided in the module class. To be done in SCENE_POINT task. |