I have developed a package which (among other classes) contains the
following hierarchy:
Model
- MyModelSubclass
- FirstClass
- SecondClass
- ThirdClass
Then I want to add extra behaviour to among other things the classes above.
This I would like to do in another package, since the first package can be
used without the extra behaviour. The behaviour should be added to
MyModelSubclass in the hierarchy above and it requires both new methods and
new instance variables. The most convenient way would be to insert a new
class (belonging to the second package) between Model and MyModelSubclass
with the new behaviour, but is this possible? If it isn't, is there another
solution except making the changes in MyModelSubclass and keeping everything
in a single package?
Regards,
Mikael Svane
[hidden email]