Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Missing properties in the Properties View
Missing properties in the Properties View [message #65488] Wed, 18 October 2006 20:01 Go to next message
Eclipse UserFriend
Originally posted by: liam.morley.baesystems.com

My GMF top-level object is called "Container", and can contain many
TopLevelObjects, each of which have a name attribute. I have a subclass of
TopLevelObject that has additional properties, but when I put one of these
objects on the stage, the only EMF property I can see in the Properties View
is "Name". Why is it that I can't see the properties for the concrete
subclasses, and how can I enable these properties for viewing?

Thanks,
Liam Morley
Re: Missing properties in the Properties View [message #65788 is a reply to message #65488] Thu, 19 October 2006 17:15 Go to previous messageGo to next message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
There's no special filtering for properties, property sheet generally
delegates to EMF's ItemProvider to get a list of all available properties.
I'd doublecheck that the instance of TopLevelObject is really of subclass
kind.


Artem

"Liam Morley" <liam.morley@baesystems.com> wrote in message
news:eh6166$oc5$1@utils.eclipse.org...
> My GMF top-level object is called "Container", and can contain many
> TopLevelObjects, each of which have a name attribute. I have a subclass of
> TopLevelObject that has additional properties, but when I put one of these
> objects on the stage, the only EMF property I can see in the Properties
> View is "Name". Why is it that I can't see the properties for the concrete
> subclasses, and how can I enable these properties for viewing?
>
> Thanks,
> Liam Morley
>
Re: Missing properties in the Properties View [message #65992 is a reply to message #65788] Thu, 19 October 2006 23:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: liam.morley.baesystems.com

I double-checked by overriding "getName" in the subclass and verified that
it was called. It was, so these are definitely instances of the subclass.
Any other possible causes?




"Artem Tikhomirov" <artem.tikhomirov@borland.com> wrote in message
news:eh8bkh$1bp$1@utils.eclipse.org...
> There's no special filtering for properties, property sheet generally
> delegates to EMF's ItemProvider to get a list of all available properties.
> I'd doublecheck that the instance of TopLevelObject is really of subclass
> kind.
>
>
> Artem
>
> "Liam Morley" <liam.morley@baesystems.com> wrote in message
> news:eh6166$oc5$1@utils.eclipse.org...
>> My GMF top-level object is called "Container", and can contain many
>> TopLevelObjects, each of which have a name attribute. I have a subclass
>> of TopLevelObject that has additional properties, but when I put one of
>> these objects on the stage, the only EMF property I can see in the
>> Properties View is "Name". Why is it that I can't see the properties for
>> the concrete subclasses, and how can I enable these properties for
>> viewing?
>>
>> Thanks,
>> Liam Morley
>>
>
>
Re: Missing properties in the Properties View [message #66080 is a reply to message #65992] Fri, 20 October 2006 07:39 Go to previous message
Eclipse UserFriend
Originally posted by: tobk.gmx.de

Liam Morley wrote:

> I double-checked by overriding "getName" in the subclass and verified that
> it was called. It was, so these are definitely instances of the subclass.
> Any other possible causes?

Are you sure that the Edit code is up to date and the attributes are set to
'editable' in the genmodel?

tobias
Previous Topic:Select diagram layout at runtime ?
Next Topic:Re: how to add to an existing edit policy?
Goto Forum:
  


Current Time: Mon Jul 22 05:32:17 GMT 2024

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

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

Back to the top