My appologies if this is a dup. there are too many topics to search 🙁
I found this problem while reverse engineering a class inheritance chain. I was pleased to find that the tool correctly identified and modeled generalization between classes and realization relationships between classes and interfaces. However, I found a bug when I (accidentally) undid (^z) a class import into the diagram. The removed class was in the middle of the hierarchy so generalization links between the parent and subclasses of the accidentally removed class were also removed from the diagram (as i would expect). However when i re-inserted the “middle” class, the links from the subclass to the newly inserted class were not redrawn. Examining the properties of the child class which previously shared a parent relationship with the removed / reinserted class showed the property was missing as well. Luckily the code itself was not effected.
I tried the same thing by explicitly deleting the class from the model and re-inserting, and the child classes did not re-establish their parent relationship with the inserted class.
I guess this should be considered a bug.
MyEclipse version 4.02
Eclipse 3.1
Windows XP sp2
Java 1.4.2