Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [eugenia] specifying compartments in an abstract class
[eugenia] specifying compartments in an abstract class [message #527244] Wed, 14 April 2010 15:02 Go to next message
m kranz is currently offline m kranzFriend
Messages: 69
Registered: January 2010
Member
hi all

in my current model i have an abstract class that defines some containment associations, and some classes that extend that abstract class.
i now defined that abstract class as a node and the associations as compartments.
while eugenia correctly creates nodes for all nonabstract subclasses, it does not create the compartments.
i tried some other solutions like explicitely defining all subclasses as nodes, but i could not get the compartments to work.

so before i go on with this, i wanted to ask if it is at all possible to create compartments for abstract classes (actually for their nonabstract subclasses) or not?

thanks in advance

marco
Re: [eugenia] specifying compartments in an abstr act class [message #527263 is a reply to message #527244] Wed, 14 April 2010 15:35 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

This should work. Could you please provide a minimal metamodel in
emfatic that reproduces this?

Cheers,
Dimitris

<Marco.Kranz@fokus.fraunhofer.de> wrote:
> hi all
>
> in my current model i have an abstract class that defines some
> containment associations, and some classes that extend that abstract
> class.
> i now defined that abstract class as a node and the associations as
> compartments.
> while eugenia correctly creates nodes for all nonabstract subclasses,
> it does not create the compartments.
> i tried some other solutions like explicitely defining all subclasses
> as nodes, but i could not get the compartments to work.
>
> so before i go on with this, i wanted to ask if it is at all possible
> to create compartments for abstract classes (actually for their
> nonabstract subclasses) or not?
>
> thanks in advance
>
> marco
>
Re: [eugenia] specifying compartments in an abstr act class [message #527494 is a reply to message #527263] Thu, 15 April 2010 13:18 Go to previous messageGo to next message
m kranz is currently offline m kranzFriend
Messages: 69
Registered: January 2010
Member
hi dimitris

once again false alarm... Smile
i checked the model again and found that the associations are in fact no containments, so it couldn't work... Confused

is there a way of achieving the same effect for non containment associations?

cheers

marco
Re: [eugenia] specifying compartments in an abstr act class [message #527500 is a reply to message #527494] Thu, 15 April 2010 13:20 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

That's a very good question indeed :) Could you possibly investigate
this using plain-vanilla GMF? If this is possible I'd be more than happy
to add support for this to Eugenia!

Cheers,
Dimitris

Marco.Kranz@fokus.fraunhofer.de wrote:
> hi dimitris
>
> once again false alarm... :)
> i checked the model again and found that the associations are in fact no
> containments, so it couldn't work... :?
> is there a way of achieving the same effect for non containment
> associations?
>
> cheers
>
> marco


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [eugenia] specifying compartments in an abstr act class [message #527512 is a reply to message #527500] Thu, 15 April 2010 13:51 Go to previous message
m kranz is currently offline m kranzFriend
Messages: 69
Registered: January 2010
Member
i have to find a way, at least something that looks/works similar.
i'll let you know in case i'm successful.
(it may take some time though since i've other things to do first).
Re: [eugenia] specifying compartments in an abstr act class [message #588325 is a reply to message #527263] Thu, 15 April 2010 13:18 Go to previous message
m kranz is currently offline m kranzFriend
Messages: 69
Registered: January 2010
Member
hi dimitris

once again false alarm... :)
i checked the model again and found that the associations are in fact no containments, so it couldn't work... :?

is there a way of achieving the same effect for non containment associations?

cheers

marco
Re: [eugenia] specifying compartments in an abstr act class [message #588333 is a reply to message #527494] Thu, 15 April 2010 13:20 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

That's a very good question indeed :) Could you possibly investigate
this using plain-vanilla GMF? If this is possible I'd be more than happy
to add support for this to Eugenia!

Cheers,
Dimitris

Marco.Kranz@fokus.fraunhofer.de wrote:
> hi dimitris
>
> once again false alarm... :)
> i checked the model again and found that the associations are in fact no
> containments, so it couldn't work... :?
> is there a way of achieving the same effect for non containment
> associations?
>
> cheers
>
> marco


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [eugenia] specifying compartments in an abstr act class [message #588340 is a reply to message #527500] Thu, 15 April 2010 13:51 Go to previous message
m kranz is currently offline m kranzFriend
Messages: 69
Registered: January 2010
Member
i have to find a way, at least something that looks/works similar.
i'll let you know in case i'm successful.
(it may take some time though since i've other things to do first).
Previous Topic:[eugenia] specifying compartments in an abstract class
Next Topic:adding markers to eugenia based editor after applying evl constraints to emfdiff model
Goto Forum:
  


Current Time: Wed Apr 24 22:31:08 GMT 2024

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

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

Back to the top