Implement filters as a chain attached to files.

This commit is contained in:
Vreixo Formoso 2007-10-07 21:46:16 +02:00
parent ebf7aebe7f
commit be5bfd1a88
2 changed files with 43 additions and 61 deletions

View File

@ -127,28 +127,13 @@ children()</string>
</object> </object>
<object class="java.awt.geom.Point2D$Double"> <object class="java.awt.geom.Point2D$Double">
<void method="setLocation"> <void method="setLocation">
<double>448.9741494941426</double> <double>397.8382435490256</double>
<double>377.47930710254684</double> <double>378.6685142175496</double>
</void> </void>
</object> </object>
</void> </void>
<void method="addNode"> <void method="addNode">
<object id="ClassNode6" class="com.horstmann.violet.ClassNode"> <object id="ClassNode6" class="com.horstmann.violet.ClassNode">
<void property="name">
<void property="text">
<string>FilteredFile</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>210.45651304351662</double>
<double>377.3967023273157</double>
</void>
</object>
</void>
<void method="addNode">
<object id="ClassNode7" class="com.horstmann.violet.ClassNode">
<void property="attributes"> <void property="attributes">
<void property="text"> <void property="text">
<string>path : char *</string> <string>path : char *</string>
@ -162,13 +147,13 @@ children()</string>
</object> </object>
<object class="java.awt.geom.Point2D$Double"> <object class="java.awt.geom.Point2D$Double">
<void method="setLocation"> <void method="setLocation">
<double>329.9441826336963</double> <double>270.48382688356025</double>
<double>383.80375690756597</double> <double>384.9929640225687</double>
</void> </void>
</object> </object>
</void> </void>
<void method="addNode"> <void method="addNode">
<object id="ClassNode8" class="com.horstmann.violet.ClassNode"> <object id="ClassNode7" class="com.horstmann.violet.ClassNode">
<void property="name"> <void property="name">
<void property="text"> <void property="text">
<string>Special</string> <string>Special</string>
@ -200,8 +185,8 @@ Filter</string>
</object> </object>
<object class="java.awt.geom.Point2D$Double"> <object class="java.awt.geom.Point2D$Double">
<void method="setLocation"> <void method="setLocation">
<double>190.0</double> <double>60.0</double>
<double>460.0</double> <double>340.0</double>
</void> </void>
</object> </object>
</void> </void>
@ -209,13 +194,13 @@ Filter</string>
<object idref="InterfaceNode0"/> <object idref="InterfaceNode0"/>
<object class="java.awt.geom.Point2D$Double"> <object class="java.awt.geom.Point2D$Double">
<void method="setLocation"> <void method="setLocation">
<double>196.85096577685422</double> <double>66.03818312655496</double>
<double>491.85175203664653</double> <double>371.74183342137127</double>
</void> </void>
</object> </object>
</void> </void>
<void method="addNode"> <void method="addNode">
<object id="ClassNode9" class="com.horstmann.violet.ClassNode"> <object id="ClassNode8" class="com.horstmann.violet.ClassNode">
<void property="attributes"> <void property="attributes">
<void property="text"> <void property="text">
<string>name : char*</string> <string>name : char*</string>
@ -300,7 +285,7 @@ the new files, thus it is suitable for a new session
</object> </object>
</void> </void>
<void method="addNode"> <void method="addNode">
<object id="ClassNode10" class="com.horstmann.violet.ClassNode"> <object id="ClassNode9" class="com.horstmann.violet.ClassNode">
<void property="name"> <void property="name">
<void property="text"> <void property="text">
<string>Ecma119Source</string> <string>Ecma119Source</string>
@ -365,6 +350,22 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
</void> </void>
</object> </object>
</void> </void>
<void method="addNode">
<object id="NoteNode2" class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>Each file can have several filters, that are
applied sequentially. </string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double">
<void method="setLocation">
<double>66.59559844015237</double>
<double>484.00729580610755</double>
</void>
</object>
</void>
<void method="connect"> <void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge"> <object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle"> <void property="bentStyle">
@ -428,7 +429,7 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/> <object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void> </void>
</object> </object>
<object idref="ClassNode8"/> <object idref="ClassNode7"/>
<object idref="ClassNode2"/> <object idref="ClassNode2"/>
</void> </void>
<void method="connect"> <void method="connect">
@ -458,7 +459,7 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/> <object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void> </void>
</object> </object>
<object idref="ClassNode7"/> <object idref="ClassNode6"/>
<object idref="ClassNode1"/> <object idref="ClassNode1"/>
</void> </void>
<void method="connect"> <void method="connect">
@ -488,18 +489,6 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<object idref="ClassNode2"/> <object idref="ClassNode2"/>
<object idref="ClassNode3"/> <object idref="ClassNode3"/>
</void> </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="ClassNode6"/>
<object idref="InterfaceNode0"/>
</void>
<void method="connect"> <void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge"> <object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle"> <void property="bentStyle">
@ -515,7 +504,7 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<object class="com.horstmann.violet.ArrowHead" field="BLACK_DIAMOND"/> <object class="com.horstmann.violet.ArrowHead" field="BLACK_DIAMOND"/>
</void> </void>
</object> </object>
<object idref="ClassNode9"/> <object idref="ClassNode8"/>
<object idref="ClassNode0"/> <object idref="ClassNode0"/>
</void> </void>
<void method="connect"> <void method="connect">
@ -530,7 +519,7 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<string>0..1 src</string> <string>0..1 src</string>
</void> </void>
</object> </object>
<object idref="ClassNode9"/> <object idref="ClassNode8"/>
<object idref="InterfaceNode1"/> <object idref="InterfaceNode1"/>
</void> </void>
<void method="connect"> <void method="connect">
@ -555,7 +544,7 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
</void> </void>
<void method="connect"> <void method="connect">
<object class="com.horstmann.violet.NoteEdge"/> <object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode9"/> <object idref="ClassNode8"/>
<object idref="NoteNode1"/> <object idref="NoteNode1"/>
</void> </void>
<void method="connect"> <void method="connect">
@ -570,7 +559,7 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<object class="com.horstmann.violet.LineStyle" field="DOTTED"/> <object class="com.horstmann.violet.LineStyle" field="DOTTED"/>
</void> </void>
</object> </object>
<object idref="ClassNode10"/> <object idref="ClassNode9"/>
<object idref="InterfaceNode2"/> <object idref="InterfaceNode2"/>
</void> </void>
<void method="connect"> <void method="connect">
@ -585,35 +574,28 @@ We don&apos;t show the several functions in Dir to manage the tree.</string>
<string>{create}</string> <string>{create}</string>
</void> </void>
</object> </object>
<object idref="ClassNode8"/>
<object idref="ClassNode9"/> <object idref="ClassNode9"/>
<object idref="ClassNode10"/>
</void> </void>
<void method="connect"> <void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge"> <object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle"> <void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/> <object class="com.horstmann.violet.BentStyle" field="HVH"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void>
</object>
<object idref="ClassNode6"/>
<object idref="ClassNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VH"/>
</void> </void>
<void property="endArrowHead"> <void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="V"/> <object class="com.horstmann.violet.ArrowHead" field="V"/>
</void> </void>
<void property="startArrowHead"> <void property="endLabel">
<object class="com.horstmann.violet.ArrowHead" field="BLACK_DIAMOND"/> <string>*</string>
</void> </void>
</object> </object>
<object idref="ClassNode6"/>
<object idref="ClassNode1"/> <object idref="ClassNode1"/>
<object idref="InterfaceNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="InterfaceNode0"/>
<object idref="NoteNode2"/>
</void> </void>
</object> </object>
</java> </java>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 34 KiB