Changes between Version 7 and Version 8 of GROUP_BASE_MODEL_TEXT_R0


Ignore:
Timestamp:
03/19/09 13:32:58 (16 years ago)
Author:
nenko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_BASE_MODEL_TEXT_R0

    v7 v8  
    8686Style definition for the text is a list of style values. Every style value has an attribute (something like a key in the sequence) and a value. The purpose of the attribute is to store some meta information like default value, etc. 
    8787 
     88[[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/hotText/HotText - model.png)]] 
     89 
     90For proper styling we should have proper nesting that's why it's a good idea this logic to be presented like a stack with proper sequence call to  
     91pop/push operations. Even more, the number of operations with values is a finite number, and to become more error prone this is how the design looks: 
     92 
     93[[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/hotText/HotStyleDef-model.png)]] 
     94 
     95Sophie2's formatted text is one that should not work only in rectangle areas, that's why we need a a custom graphical component and a layout mechanism. 
     96 
     97The custom graphical component is a scene element that uses the graphical context to draw the formatted text 
     98 
     99[[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/hotText/HotTextIntegration.png)]] 
     100 
     101The layout mechanism is most appropriate to be a graph where where each route have a cost and then the path with the minimal cost will be used 
     102 
     103[[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/hotText/HotTextLayout-model.png)]] 
    88104 
    89105= Implementation =