Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Empty properties tab
Empty properties tab [message #468047] Mon, 03 August 2009 18:43 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Dear GMF folks,

I've generated a GMF editor where surprisingly the properties for a
selected node or connection is mainly empty. There is only the
"Appearance" tab where I see the usual appearance properties and the
"Core" tab that is empty. There are none of my metamodel's semantical
attributes in any tab.

I tried the standard EMF tree editor and there everything is fine, all
properties for all elements are there.

Where can I have lost the properties for my GMF editor?

Hauke
Re: Empty properties tab [message #468093 is a reply to message #468047] Tue, 04 August 2009 06:18 Go to previous messageGo to next message
Peter Lang is currently offline Peter LangFriend
Messages: 153
Registered: July 2009
Senior Member
Hi Hauke,

> I've generated a GMF editor where surprisingly the properties for a
> selected node or connection is mainly empty. There is only the
> "Appearance" tab where I see the usual appearance properties and the
> "Core" tab that is empty. There are none of my metamodel's semantical
> attributes in any tab.
I'd start with checking gmfgen-file. In "Gen Editor Generator xxx" ->
"Property Sheet xxx", there should be tabs for "Appearance", "Rulers &
Grid" and a Custom Property Tab for "Core". This one has an
"Implementation class" attribute, which is the name of the generated class.

This file should be generated into *.diagram.sheet. If it exists, try
setting a breakpoint in "setInput", which should be called whenever
selection in editor is changed.

Peter
Re: Empty properties tab [message #468100 is a reply to message #468047] Tue, 04 August 2009 07:32 Go to previous message
Tobias Lingemann is currently offline Tobias LingemannFriend
Messages: 11
Registered: July 2009
Junior Member
Hi,

I would suggest to have a look at your *.gmfgen
Go to the attributes that should be visible in your editor and open the
properties view. The 'Property Type' should be set to 'Readonly' or
'Editable'. If its 'None', it won't be visible in the editor.

Another reason could be a problem with the generated code (maybe there
were inconsistent changes in the models). Maybe there are some helpful
hints in the Error Log View of your editor. If so, I would recommend
generating the code from scratch and merge your handmade changes.


Best regards,
Tobias


Hauke Fuhrmann wrote:

> Dear GMF folks,

> I've generated a GMF editor where surprisingly the properties for a
> selected node or connection is mainly empty. There is only the
> "Appearance" tab where I see the usual appearance properties and the
> "Core" tab that is empty. There are none of my metamodel's semantical
> attributes in any tab.

> I tried the standard EMF tree editor and there everything is fine, all
> properties for all elements are there.

> Where can I have lost the properties for my GMF editor?

> Hauke
Previous Topic:How get gmf editor export image when editor closed !
Next Topic:QVTO post processing gmfgen example?
Goto Forum:
  


Current Time: Thu Apr 25 07:35:03 GMT 2024

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

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

Back to the top