ThingLab
Reinier van Loon
R.L.J.M.W.van.Loon at inter.nl.net
Thu Jan 28 00:34:36 UTC 1999
Dan Ingalls wrote:
> What doesn't work
> Battery won't fileIn right, so the electrical examples don't work. It's
probably easy to fix. There is a second browser called the Object Definer
that Alan says never worked (it was a > project to define constraints
graphically using thinglab itself). Also, as I said, it should all be moved
to Morphic where the objects can be put in parts bins and intermingled with
the > rest of Morphic.
For those interested in getting Battery to file in right:
1) edit ThingLab.cs and change 'nil subclass: #SetConstraint' into
'Constraint subclass: #SetConstraint'
2) repeat this for SetMembershipConstraint
3) copy the class definition of SetConstraint and rename #SetConstraint to
ConditionalConstraint
4) change the string 'mask: nil' in all thing files which have
'showPicture:' and 'mask: nil' in it to 'fillColor: nil'
5) file ThingLab.cs in
6) file Battery.st in
7) open a ThingLab browser and enjoy
Currently I'm busy getting all 'things' in a 'file in-able and view-able'
state. Anyone out there doing the same?
To Dan:
The following classes and methods are missing:
ConditionConstraint, ExprEquality, transpose, methodsNotUniqueState
Any chance you've got them?
Regards, Reinier.
More information about the Squeak-dev
mailing list
|