|Re: Getting rid of fully qualified type names in ocl expressions [message #1007722 is a reply to message #1007098]
||Thu, 07 February 2013 05:07
| Ed Willink
Registered: July 2009
I think you may find lookupPackage easier. There is already a lookup for
no explicit package so you just need to broaden it.
On 04/02/2013 12:59, Felix Dorner wrote:
> Hi Ed,
> qualified classifier names are not the problem. I want to dynamically
> resolve _unqualified_ classifier names against registered package. I
> could then just write "Author.allInstances()" instead of
> "library::Author.allInstances()". I think I could try to customize
> EcoreEnvironment.lookupClassifier() to implement such a dynamic
> cross-package lookup.
Powered by FUDForum
. Page generated in 0.01526 seconds