Thank you Tudor,Yes, it makes sence.Then I suppose that I just return nil if I dont want to display the previous and next information.Regards
De : Tudor Girba <tudor@tudorgirba.com>
�� : abdelghani ALIDRA <alidrandco@yahoo.fr>; Any question about pharo is welcome <pharo-users@lists.pharo.org>
Envoy�� le : Lundi 22 juin 2015 21h25
Objet : Re: [Pharo-users] Moose
Hi,from/to are derived properties and they should describe the association. For example:FAMIXAccess>> from^ self accessorFAMIXAccess>> to^ self variablenext/previous denote the position of the association in the code with respect to the other associations. For example, imagine this Pharo code:self doSomething.self doSomethingElse.you will get two FAMIXInvocations, and these can be linked through the previous property (next is derived).Does this make sense?Btw, these questions are better suited for the Moose mailing list:Cheers,DoruOn Mon, Jun 22, 2015 at 5:06 PM, abdelghani ALIDRA <alidrandco@yahoo.fr> wrote:Hi everybody,when working with the FAMIX meta model, one must implement the previous, next, from and to methods for each class extending FAMIXAssosiation.What is the diffence between previous/from and next/to?if I makeMyFamixClass>>from^previousthe same information is displayed twice in the Moose panel (because both methods are annotated with the MSEProperty in the superclass)Who can one avoid that?RegardsAbdelghani--