Browse Source

Annotatte the Builder diagram.

release-1.5.4.branch
Vreixo Formoso 14 years ago
parent
commit
a387e4a619
  1. 326
      doc/devel/UML/builder.violet
  2. BIN
      doc/devel/UML/builder.violet.png

326
doc/devel/UML/builder.violet

@ -18,8 +18,8 @@ Filesystem</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>239.65022612023944</double>
<double>428.68019298068566</double>
<double>238.23601255786633</double>
<double>493.73401684984844</double>
</void>
</object>
</void>
@ -33,8 +33,8 @@ Filesystem</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>115.78546881025578</double>
<double>581.4909858656838</double>
<double>115.78546881025575</double>
<double>635.2311012358618</double>
</void>
</object>
</void>
@ -48,8 +48,8 @@ Filesystem</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>377.65022612023944</double>
<double>579.6801929806866</double>
<double>376.23601255786633</double>
<double>644.7340168498495</double>
</void>
</object>
</void>
@ -60,7 +60,8 @@ Filesystem</string>
<string>lstat()
read()
close()
open()</string>
open()
readdir()</string>
</void>
</void>
<void property="name">
@ -72,8 +73,8 @@ SourceFile</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>482.9740126701578</double>
<double>408.11257163567745</double>
<double>481.55979910778467</double>
<double>464.84194569982117</double>
</void>
</object>
</void>
@ -87,8 +88,8 @@ SourceFile</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>269.92071150027203</double>
<double>579.4370214406978</double>
<double>268.5064979378989</double>
<double>644.4908453098606</double>
</void>
</object>
</void>
@ -111,8 +112,8 @@ Stream</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>781.3090745567881</double>
<double>275.3064215363851</double>
<double>779.894860994415</double>
<double>340.36024540554786</double>
</void>
</object>
</void>
@ -126,8 +127,8 @@ Stream</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>919.2570998971042</double>
<double>440.60621052176435</double>
<double>907.9433913981195</double>
<double>505.6600343909271</double>
</void>
</object>
</void>
@ -141,8 +142,8 @@ Stream</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>650.496291906489</double>
<double>438.22779629175875</double>
<double>646.2536512193697</double>
<double>514.5953286599063</double>
</void>
</object>
</void>
@ -156,8 +157,8 @@ Stream</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>771.7954176367664</double>
<double>441.79541763676707</double>
<double>774.6238447615127</double>
<double>513.9203093177954</double>
</void>
</object>
</void>
@ -179,8 +180,8 @@ TreeNodeBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>470.92601754107767</double>
<double>54.86674707528562</double>
<double>469.51180397870456</double>
<double>119.92057094444797</double>
</void>
</object>
</void>
@ -194,8 +195,8 @@ TreeNodeBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>778.9306603267822</double>
<double>72.70485380032646</double>
<double>777.5164467644091</double>
<double>137.7586776694888</double>
</void>
</object>
</void>
@ -209,8 +210,8 @@ TreeNodeBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>777.7414532117795</double>
<double>170.0566174453891</double>
<double>776.3272396494064</double>
<double>235.11044131455145</double>
</void>
</object>
</void>
@ -224,8 +225,8 @@ TreeNodeBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>902.6082002870654</double>
<double>168.86741033038638</double>
<double>899.7797731623193</double>
<double>242.40651557378732</double>
</void>
</object>
</void>
@ -239,8 +240,8 @@ TreeNodeBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>660.0099488265103</double>
<double>172.43503167539455</double>
<double>658.5957352641371</double>
<double>237.4888555445569</double>
</void>
</object>
</void>
@ -255,8 +256,8 @@ FileBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>70.16321978516044</double>
<double>171.2458245603918</double>
<double>68.74900622278733</double>
<double>236.29964842955417</double>
</void>
</object>
</void>
@ -271,8 +272,8 @@ DirBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>191.46234551543796</double>
<double>171.24582456039184</double>
<double>190.04813195306485</double>
<double>236.2996484295542</double>
</void>
</object>
</void>
@ -287,37 +288,173 @@ SymlinkBuilder</string>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>305.62622855569924</double>
<double>171.2458245603918</double>
<double>304.21201499332614</double>
<double>236.29964842955417</double>
</void>
</object>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="V"/>
<void method="addNode">
<object id="NoteNode0" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>POSIX inspired interface to files on different filesystems.
open/close act as a opendir/closedir if the file is a dir,
I think we don&apos;t need different function to open a dir.</string>
</void>
</void>
<void property="lineStyle">
<object class="com.horstmann.violet.LineStyle" field="DOTTED"/>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>154.8805850420814</double>
<double>333.9382491299707</double>
</void>
</object>
</void>
<void method="addNode">
<object id="NoteNode1" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>&quot;Sources&quot; for file contents</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>587.0127806828101</double>
<double>358.755499461917</double>
</void>
</object>
</void>
<void method="addNode">
<object id="ClassNode10" class="com.horstmann.violet.ClassNode">
<void property="name">
<void property="text">
<string>CutOutStream</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>845.6997102991108</double>
<double>605.2834046956852</double>
</void>
</object>
</void>
<void method="addNode">
<object id="ClassNode11" class="com.horstmann.violet.ClassNode">
<void property="name">
<void property="text">
<string>FilterStream</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>721.2489168102784</double>
<double>605.2834046956852</double>
</void>
</object>
</void>
<void method="addNode">
<object id="InterfaceNode7" class="com.horstmann.violet.InterfaceNode">
<void property="name">
<void property="text">
<string>«interface»
Filter</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>715.5920625607861</double>
<double>705.6925676241749</double>
</void>
</object>
</void>
<void method="addNode">
<object id="NoteNode2" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>Used for arbitray streams, not related to
filesystem high-level idea. Also used for
files like fifos, that can&apos;t be added directly as
regulat files via de Builder, because its size is
unknown. The need to be added as new_files
on image</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>906.5108934811542</double>
<double>328.0975464705584</double>
</void>
</object>
</void>
<void method="addNode">
<object id="NoteNode3" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>Create the user-specified TreeNode from the
user-specified source. If the source type differs the
TreeNode type the use wants to create, it makes
the needed conversion, if possible. Each builder
implementation can do different conversions.</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>654.7808793787427</double>
<double>20.610173055266337</double>
</void>
</object>
</void>
<void method="addNode">
<object id="NoteNode4" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>Together with the SourceFile encapsulates the
access to a given filesystem and abstracts it to
a POSIX interface.</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>20.610173055266422</double>
<double>403.050865276332</double>
</void>
</object>
</void>
<void method="addNode">
<object id="NoteNode5" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>The TreeNodeBuilder can be created with
the combination of different interfaces for
each factory method</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>149.90663761154804</double>
<double>57.982756057296896</double>
</void>
</object>
<object idref="InterfaceNode0"/>
<object idref="InterfaceNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
<object class="com.horstmann.violet.ArrowHead" field="V"/>
</void>
<void property="lineStyle">
<object class="com.horstmann.violet.LineStyle" field="DOTTED"/>
</void>
</object>
<object idref="ClassNode5"/>
<object idref="InterfaceNode2"/>
<object idref="InterfaceNode0"/>
<object idref="InterfaceNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
@ -526,5 +663,96 @@ SymlinkBuilder</string>
<object idref="InterfaceNode3"/>
<object idref="InterfaceNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode1"/>
<object idref="NoteNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode2"/>
<object idref="NoteNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void>
</object>
<object idref="ClassNode11"/>
<object idref="ClassNode5"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void>
</object>
<object idref="ClassNode10"/>
<object idref="ClassNode5"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="HVH"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="V"/>
</void>
</object>
<object idref="ClassNode11"/>
<object idref="InterfaceNode7"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode3"/>
<object idref="NoteNode2"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode3"/>
<object idref="NoteNode3"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode0"/>
<object idref="NoteNode4"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode4"/>
<object idref="NoteNode5"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode5"/>
<object idref="NoteNode5"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode6"/>
<object idref="NoteNode5"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void>
<void property="lineStyle">
<object class="com.horstmann.violet.LineStyle" field="DOTTED"/>
</void>
</object>
<object idref="ClassNode5"/>
<object idref="InterfaceNode2"/>
</void>
</object>
</java>

BIN
doc/devel/UML/builder.violet.png

Before

Width: 955  |  Height: 595  |  Size: 13 KiB

After

Width: 1175  |  Height: 755  |  Size: 32 KiB

Loading…
Cancel
Save