Hello,How can I extend Moose metamodel to add new metrics at methods, classes and packages levels and how to compute its then show it in the navigation.thank you
------------------------------------ Hayatou Oumarou, PhD Software EngineeringUniversity of Maroua, Cameroon (+237)699470504
On 15 Jan 2019, at 21:23, Hayatou Oumarou hayaty55@yahoo.fr wrote:
Hello, How can I extend Moose metamodel to add new metrics at methods, classes and packages levels and how to compute its then show it in the navigation. thank you
Hayatou
I do not have moose with me. Now take FamixType and have a look at the methods. You will see that there is pattern the system cache the metrics in the properties of the entity and you define the metrics by simply calling the method computing its values.
Stef
Hayatou Oumarou, PhD Software Engineering University of Maroua, Cameroon (+237)699470504 _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr http://www.synectique.eu / http://www.pharo.org 03 59 35 87 52 Assistant: Julie Jonas FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France