<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.2900.3527" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=953262002-04072009><FONT face="Trebuchet MS"
color=#0000ff>is ok RS. The ivar in the parert will make all the children to
have that ivar (each instance its own value).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953262002-04072009><FONT face="Trebuchet MS"
color=#0000ff>Formally you can put the accessors wherever you need but is normal
to put them just in the parent. That way siblings of that ivar user can
understand the getter and the setter too.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953262002-04072009><FONT face="Trebuchet MS"
color=#0000ff>Play some in the workspace it don't bite, you'll
see :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953262002-04072009><FONT face="Trebuchet MS"
color=#0000ff>best</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953262002-04072009><FONT face="Trebuchet MS"
color=#0000ff>sebastian</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>De:</B> seaside-bounces@lists.squeakfoundation.org
[mailto:seaside-bounces@lists.squeakfoundation.org] <B>En nombre de </B>Robert
Sirois<BR><B>Enviado el:</B> Friday, July 03, 2009 23:22<BR><B>Para:</B>
seaside@lists.squeakfoundation.org<BR><B>Asunto:</B> [Seaside]
Subclasses<BR></FONT><BR></DIV>
<DIV></DIV>Here's a completely noob Smalltalk question:<BR><BR>Let's say you
have a superclass ie.:<BR><BR>WAComponent subclass:
#aSuperClass<BR> instanceVariableNames: 'iVar'.<BR><BR>and a
subclass of it:<BR><BR>aSuperClass subclass: #aSubClass<BR>
instanceVariableNames: ''.<BR><BR>Basic super/subclass situation with one
iVar... so my question is, when you instantiate an instance of the subclass,
it also has iVar (not static), right? Or am I totally confused? Also, if I
wanted to create accessors for it, would I put those on the parent or child
class?<BR><BR>Thanks,<BR>RS<BR><BR>
<HR>
Hotmail® has ever-growing storage! Don’t worry about storage limits. <A
href="http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009"
target=_new>Check it out.</A> </BLOCKQUOTE></BODY></HTML>