Missing properties in the Properties View [message #65488] |
Wed, 18 October 2006 20:01 |
Eclipse User |
|
|
|
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 #65992 is a reply to message #65788] |
Thu, 19 October 2006 23:18 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03036 seconds