Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Exceed labels in Emfatic
Exceed labels in Emfatic [message #484905] Wed, 09 September 2009 16:24 Go to next message
James Williams is currently offline James WilliamsFriend
Messages: 27
Registered: July 2009
Junior Member
Hi there,

I'm trying to add labels to my classes in my EMF file using Emfatic:

Quote:
@exceed(label="return self.visibility;")
class Property{
attr Visibility visibility;
attr String type;
attr String name;
}

enum Visibility{ protected; private; public; }


When creating a model instance of this metamodel, however, it labels the property with the 'name' attribute, no matter what I put inside the label quotes (I imagine it chooses 'name' because it's the first alphabetically).

I notice on the ModeLink screencast that the PersonHouseRelationship label only takes effect after both a Person and a House have been assigned to it. Is exceed expecting something more? I do give values to all the attributes.

Cheers,

James
Re: Exceed labels in Emfatic [message #484910 is a reply to message #484905] Wed, 09 September 2009 16:32 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi James,

@exceed should be @exeed instead.

Cheers,
Dimitris

James Williams wrote:
> Hi there,
>
> I'm trying to add labels to my classes in my EMF file using Emfatic:
>
> Quote:
>> @exceed(label="return self.visibility;")
>> class Property{
>> attr Visibility visibility;
>> attr String type;
>> attr String name;
>> }
>>
>> enum Visibility{ protected; private; public; }
>
>
> When creating a model instance of this metamodel, however, it labels the
> property with the 'name' attribute, no matter what I put inside the
> label quotes (I imagine it chooses 'name' because it's the first
> alphabetically).
>
> I notice on the ModeLink screencast that the PersonHouseRelationship
> label only takes effect after both a Person and a House have been
> assigned to it. Is exceed expecting something more? I do give values to
> all the attributes.
>
> Cheers,
>
> James
Re: Exceed labels in Emfatic [message #484911 is a reply to message #484910] Wed, 09 September 2009 16:37 Go to previous message
James Williams is currently offline James WilliamsFriend
Messages: 27
Registered: July 2009
Junior Member
D'oh. Embarrassed
Re: Exceed labels in Emfatic [message #580549 is a reply to message #484910] Wed, 09 September 2009 16:37 Go to previous message
James Williams is currently offline James WilliamsFriend
Messages: 27
Registered: July 2009
Junior Member
D'oh. :blush:
Previous Topic:Exceed labels in Emfatic
Next Topic:[EUGENIA]Create node for abstract class and how change node figure and diagram figure ???
Goto Forum:
  


Current Time: Thu Mar 28 23:08:32 GMT 2024

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

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

Back to the top