Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] new method in common.util.Util to get all the super classes without infinite loops

Hi all,

            I added a new method (getAllSuperClasses(Set<Classifier> visitedClassifiers, Classifier clazz)) in the plugin oep.common.utils.Util.

This method allows to get all levels of superClasses for a Classifier, avoiding infinite loops.

The example in the attachment works fine with this method.

 

Best regards,

--

Vincent Lorenzo

01-69-08-17-24

CEA Saclay DRT/LIST/DILS/LISE

91191 Gif/Yvette CEDEX

 

 

Attachment: generalizationLoop.JPG
Description: generalizationLoop.JPG


Back to the top