Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Element-types advice after/before ordering
Element-types advice after/before ordering [message #1729183] Mon, 11 April 2016 21:06 Go to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1206
Registered: July 2009
Location: Canada
Senior Member

Hi,

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 ...

Thanks,

Christian
Re: Element-types advice after/before ordering [message #1729569 is a reply to message #1729183] Fri, 15 April 2016 14:37 Go to previous message
Christian Damus is currently offline Christian DamusFriend
Messages: 1206
Registered: July 2009
Location: Canada
Senior Member

I have raised bug 491783. [1]

Christian


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=491783
Previous Topic:Info on ElementTypeConfiguration Framework v2?
Next Topic:Setting String attribute back to null
Goto Forum:
  


Current Time: Sun Jul 12 20:00:32 GMT 2020

Powered by FUDForum. Page generated in 0.06843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top