Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Xcore] Setting label feature
[Xcore] Setting label feature [message #876493] Thu, 24 May 2012 18:05 Go to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 134
Registered: July 2009
Senior Member
Hi,

I'm trying to figure out how to set the "label feature" attribute for a
class in my genmodel. This is what I tried:

@GenModel(labelFeature="description")
class Cache
{
...
String name
String description
...
}

But it doesn't work. The editor still uses the "name" attribute as label
feature.

Any help appreciated!

--
/Jesper
Re: [Xcore] Setting label feature [message #876540 is a reply to message #876493] Thu, 24 May 2012 20:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33139
Registered: July 2009
Senior Member
Jesper,

That case (an EReference) isn't handled yet. All the other properties
are EAttributes. Please open a bugzilla. Hopefully I can get it in
before the release.


On 24/05/2012 8:05 PM, Jesper Eskilson wrote:
> Hi,
>
> I'm trying to figure out how to set the "label feature" attribute for
> a class in my genmodel. This is what I tried:
>
> @GenModel(labelFeature="description")
> class Cache
> {
> ...
> String name
> String description
> ...
> }
>
> But it doesn't work. The editor still uses the "name" attribute as
> label feature.
>
> Any help appreciated!
>
> --
> /Jesper


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] When using adapters that make changes in UI thread, beware of deadlocks!
Next Topic:EMF Generics in Parent - Child relationship
Goto Forum:
  


Current Time: Tue Apr 23 06:08:38 GMT 2024

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

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

Back to the top