[DVS] Handling new IVs ?

Avi Bryant avi at beta4.com
Thu Aug 7 18:06:21 UTC 2003


On Thu, 7 Aug 2003, Alexandre Bergel wrote:

> Hello,
>
> Is there any way to include into a package new instance variable?

Strictly speaking this is a PackageInfo question, not a DVS question.
The answer will be the same for any tool (DVS, Monticello, MudPie...) that
uses PackageInfo to determine what's in or out of a particular package.

There isn't any way to do this currently for the simple reason that
there's no support for hanging annotations on instance variables.  Methods
allow a single user-specifiable annotation (method category), which
PackageInfo is able to abuse; ivars allow none.

Once we improve SystemOrganizer and ClassOrganizer to allow multiple
annotations on classes, methods, and variables, and improve Browser to
take advantage of this, then PackageInfo and related tools will be in much
better shape to support this.



More information about the Squeak-dev mailing list