AR 54737...
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On
Behalf Of Runar Jordahl
Sent: Tuesday, June 17, 2008 12:22 PM
To:
[hidden email]
Subject: [vwnc] ColorSelectionDialog Destroyed by Runtime Packager
To let users select a color we use UI.ColorSelectionDialog in package
"Interface-Support". It turns out that the runtime packager (RTP)
removes two classes used by ColorSelectionDialog, namely
Tools.ColoredArea and Tools.ColoredAreaController.
The two classes removed are directly referenced from the RTP as classes
to be deleted.
Note that the two removed classes are in name space Tools. This might
indicate that they actually should be removed. Still if this is the
case, the reference from UI should not be there.
We solved our problem by implementing the method below (as an
extension), and using it like shown in the script underneath the method
definition:
RuntimePackager.RuntimeBuilderItems>>keepAllInClass: aClass
self keepClass: aClass.
aClass getMethodDictionary values , aClass class
getMethodDictionary values do: [:each |
self keepSelector: each selector inClass: each mclass]
rtp := RuntimePackager.RuntimeBuilderUI new.
rtp open.
rtp keptItems keepAllInClass: Tools.ColoredArea.
rtp keptItems keepAllInClass: Tools.ColoredAreaController.
Runar
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc