done<br><br>Gerhard<br><br><div class="gmail_quote">On Sun, Sep 27, 2009 at 11:57 AM, Julian Fitzell <span dir="ltr">&lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I wonder if this might be better as a class extension from the tools<br>
package? The knowledge of whether each item is inherited and so on is<br>
really only of interest to the tools...<br>
<br>
Julian<br>
<br>
On Sat, Sep 26, 2009 at 7:51 PM,<br>
&lt;<a href="mailto:squeak-dev-noreply@lists.squeakfoundation.org">squeak-dev-noreply@lists.squeakfoundation.org</a>&gt; wrote:<br>
&gt; Gerhard Obermann uploaded a new version of Seaside-Core to project Seaside 3.0:<br>
&gt; <a href="http://www.squeaksource.com/Seaside30/Seaside-Core-obi.571.mcz" target="_blank">http://www.squeaksource.com/Seaside30/Seaside-Core-obi.571.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Seaside-Core-obi.571<br>
&gt; Author: obi<br>
&gt; Time: 26 September 2009, 7:52:30 pm<br>
&gt; UUID: 8d4e1fe3-afa1-7840-80ef-083cc1af5b63<br>
&gt; Ancestors: Seaside-Core-jf.570<br>
&gt;<br>
&gt; - add convenience method to WAUserConfiguration<br>
&gt;<br>
&gt; =============== Diff against Seaside-Core-jf.570 ===============<br>
&gt;<br>
&gt; Item was added:<br>
&gt; + ----- Method: WAUserConfiguration&gt;&gt;currentCollectionAt: (in category &#39;values&#39;) -----<br>
&gt; + currentCollectionAt: key<br>
&gt; +       &quot;get the currently defined values with infos for collection attributes&quot;<br>
&gt; +<br>
&gt; +       | expression attributeCollection |<br>
&gt; +       expression := self expressionAt: key ifAbsent: [].<br>
&gt; +       expression isNil<br>
&gt; +               ifTrue: [attributeCollection := (self at: key) collect: [:each | #inherited -&gt; each ] ]<br>
&gt; +               ifFalse: [<br>
&gt; +                       (expression isKindOf: WAValueExpression)<br>
&gt; +                               ifTrue: [attributeCollection := (expression value collect: [:each | #self -&gt; each ]) asOrderedCollection]<br>
&gt; +                               ifFalse: [attributeCollection := (expression additions collect: [:each | #add -&gt; each]) asOrderedCollection.<br>
&gt; +                                                       attributeCollection addAll: (expression additions collect: [:each | #remove -&gt; each ]).<br>
&gt; +                                                       (self at: key)<br>
&gt; +                                                               do: [:each |<br>
&gt; +                                                                               (attributeCollection detect: [:assoc | assoc value = each] ifNone: []) isNil<br>
&gt; +                                                                                               ifTrue: [attributeCollection add: #inherited -&gt; each ] ] ] ].<br>
&gt; +       ^attributeCollection!<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; commits mailing list<br>
&gt; To unsubscribe, email <a href="mailto:commits-leave@lists.seaside.st">commits-leave@lists.seaside.st</a><br>
&gt; <a href="http://lists.seaside.st/listinfo/commits" target="_blank">http://lists.seaside.st/listinfo/commits</a><br>
&gt;<br>
_______________________________________________<br>
seaside-dev mailing list<br>
<a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</blockquote></div><br>