Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] put Model-object as parameter?

Am 15.11.2012 um 09:07 schrieb Christian Krause:

> Hi Jens,
> 
> On 11/14/2012 12:09 PM, Jens Bürger wrote:
>> 
>> Nice way and it seems to solve my problem at this point, too! The only thing I ask myself is:
>> How do I get the EClass for, lets say my UML-Profile-Stereotype? Instantiating the Stereotype by hand via plain Java code would be a way, but this would be rather complex I think, because I would have to do all the linking with Profile metamodel, and so on manually, right?
>> 
> 
> You would need to load the profile and locate the EClass that represents your stereotype.

I think I have found a way more convenient way: I built a bunch of little rules just containing my desired stereotypes. So I can get the EClass from them directly an Henshin does the rest :)

Jens

Back to the top