First time here? Check out the FAQ!
x

Encapsulated Class debugging question

+2 votes
113 views
Here's a situation; I designed my Encapsulated Class and designed lots of Sounds with it. Then I realised I could improve the Class.

When I edit the Class and encapsulate it again, it seems that all the instances of the Class in my other sounds, are not updated with the edit.

Is there really no way that I can make a small change in the Class, without having to then redesign all of the examples that contain that user Class?
asked Jun 1, 2016 in Capytalk & Smalltalk by cristian-vogel (Master) (7,790 points)

1 Answer

0 votes
When you make copies of an encapsulated Sound, you are not making instances of it, just copies; the copies you make do not have links to the original. That's why there's unfortunately not a way to make a change to all copies you've ever made.
answered Jun 1, 2016 by ssc (Savant) (110,320 points)
Ok, thanks for the explanation. In that case, perhaps there could be some way that the process for updating the Class copies could be speeded up a bit. Like for example, copying all the parameter fields at once in a drag and drop way, from one copy of a Sound to another, similar to how we can now do it with VCS dragging...
...