VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.
Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig
When one renames a class and removes the original class - one has a good chance, that a part - referencing this class - can not be edited any more. The system seems to reads instances of PartBuilder from the manager.dat for that specific class - holding references to that lost class.
How is it possibe to clear all those "cached" user attributes of that part class - just to be able to work again ....
- Posts: 641
- Joined: Sat Oct 14, 2006 7:10 am
- Location: Hamburg - Germany
well I just gambled a little.
I'm not sure whether I got you right.
I subclassed a Pushbutton class, added this to a shell.
Then I copied the class (didn't react on to the showed references list) and deleted the old one.
Afterwards, when I started the visual editor again, There was a vasticon shown instead of the former "original" button.
The only way I was able to solve this was:
Opening the application manager.
loading available classes -> my "original" pushbutton class.
Then, and that's important! I opend the morph into menu via the edit toolbar menu (that's different to the one ue get using the right mouse button in the visual editor).
At the bottom there's a listentry "...others". Click it and enter the name of the "original" class.
Please send me a mail if I got you wrong.
Sorry for the typos, I'm sitting in the train...
- Posts: 76
- Joined: Sun Jul 20, 2008 9:40 pm
- Location: Nanaimo, BC, Canada
Before you remove the old class, first check the references to that class.
When the class is referenced in a abtbuildinternals method,
open a composition editor on that class and replace the part(s) that refernce the old class.
For some parts you can change the class via the popu menu, for others you can use the morph (Thanks Sebastian)
Save the part.
Remove the old class when it has no references left.
- Posts: 45
- Joined: Sun Feb 25, 2007 7:14 am
- Location: Arnhem, Netherlands
Return to VA Smalltalk 7.0, 7.5 & 8.0
Who is online
Users browsing this forum: Yahoo [Bot] and 1 guest