<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="4">Hi folks,</font></p>
    <p><font size="4">I request for comment, for the chapter on "Design
        morph by reuse", regarding designing morph by reuse (no drawnOn:
        method rewrite).</font></p>
    <p><font size="4">In that specific circumstance (design implying
        overriding drawOn: is dealt in a separate chapter), from which
        morph are you subclassing?</font></p>
    <p><font size="4"><img src="cid:part1.nyTdPEW4.J45AojjH@free.fr"
          alt=""></font></p>
    <p><font size="4">I have identified[1] two strong candidates,
        LayoutMorph and PluggableScrollPane, whose subclasses do not
        need to rewrite drawOn: and generic enough for reuse.<br>
      </font></p>
    <p><font size="4">Opinion?</font></p>
    <p><font size="4">Thanks</font></p>
    <p><font size="4">Hilaire<br>
      </font></p>
    <p><font size="4"><br>
      </font></p>
    <p><font size="4">[1] By asking itself, wtih the Cuis-Smalltalk-UI
        package loaded:</font></p>
    <p><!-- HTML generated using hilite.me --></p>
    <div
style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;">
      <pre style="margin: 0; line-height: 125%"><span
      style="color: #333333">|</span><span style="color: #996633"> hallOfFame </span><span
      style="color: #333333">|</span>
<span style="color: #996633">hallOfFame</span> <span
      style="color: #333333">:=</span> <span
      style="color: #BB0066; font-weight: bold">Morph</span> <span
      style="color: #0066BB; font-weight: bold">allSubclasses</span> <span
      style="color: #0066BB; font-weight: bold">collect:</span> [<span
      style="color: #333333">:</span><span style="color: #996633">each</span> <span
      style="color: #333333">|</span>
<span style="color: #BB0066; font-weight: bold">Array</span> <span
      style="color: #0066BB; font-weight: bold">with:</span> <span
      style="color: #996633">each</span> <span
      style="color: #0066BB; font-weight: bold">with:</span> <span
      style="color: #996633">each</span> <span
      style="color: #0066BB; font-weight: bold">subclasses</span> <span
      style="color: #0066BB; font-weight: bold">size</span>].
<span style="color: #996633">hallOfFame</span> <span
      style="color: #333333">:=</span> <span style="color: #996633">hallOfFame</span> <span
      style="color: #0066BB; font-weight: bold">sort:</span> [<span
      style="color: #333333">:</span><span style="color: #996633">array1</span> <span
      style="color: #333333">:</span><span style="color: #996633">array2</span> <span
      style="color: #333333">|</span> <span style="color: #996633">array1</span> <span
      style="color: #0066BB; font-weight: bold">second</span> <span
      style="color: #0066BB; font-weight: bold">></span> <span
      style="color: #996633">array2</span> <span
      style="color: #0066BB; font-weight: bold">second</span>]
</pre>
    </div>
    <p><font size="4"><br>
      </font></p>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
  </body>
</html>