|Element-types advice after/before ordering [message #1729183]
||Mon, 11 April 2016 21:06
|| Christian Damus
Registered: July 2009
On Papyrus Neon M6, I wanted to set an ordering dependency amongst the
advices that customize the editing of some element-type. I thought I
could use the 'after' and 'before' properties of an AdviceConfiguration
for this purpose. On seeing that these aren't references to
AdviceConfigurations but rather lists of strings, I assumed I should
enter the identifiers of the advices that I need my advice to precede
('before') or follow ('after'). But, looking into the code that
processes these before and after properties, I am now confused. It
appears that the expectation is that these properties identify ordering
dependencies by class name. But, how can that work? All set-value or
apply-stereotype advice configurations are implemented by a single
advice class, respectively. How could I specify an ordering of
multiple apply-stereotype advices, for example?
Or am I missing something? How is this supposed to work? What should
I specify in the 'before' and 'after' lists of an advice configuration?
I think it ought to be advice identifiers ...
Powered by FUDForum
. Page generated in 0.06843 seconds