Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » model updating not reflected in editor
model updating not reflected in editor [message #213014] Tue, 09 December 2008 09:41 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
I've added a new attribute to one class in my model,but the new
attribute is not shown in the property view in the generated editor.But
this new attribute are shown in .ecore. What is the reason?

Thank you for answering!

Ye
Re: model updating not reflected in editor [message #213029 is a reply to message #213014] Tue, 09 December 2008 12:25 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello yeliu,

This sounds strange since GMF is using EMF-generated ItemProviders to display
properties.. Are you sure you've re-generated emf .edit plugin?

-----------------
Alex Shatalin
Re: model updating not reflected in editor [message #213123 is a reply to message #213029] Wed, 10 December 2008 08:57 Go to previous messageGo to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hi,
Yes,I regenerate the Edit code and I can find the
addxxxPropertyDescriptor(object) in the corresponding ItemProvider.
I wonder if I need to do something else to the .gmfmap excepting
'refresh' it in order to keep synchronization?

Thank you !


Ye
Re: model updating not reflected in editor [message #213160 is a reply to message #213123] Wed, 10 December 2008 13:42 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello yeliu,

GMF-generated code for domain model properties is rather generic - i.e. should
be working even without regeneration..

Try debugging generated ???PropertySection.getPropertySource() to see if
something is wrong there.

-----------------
Alex Shatalin
Previous Topic:Changing Generated Icons in GMF editor
Next Topic:Resource was re-loaded while it was being unloaded, probably because of unintentional proxy resoluti
Goto Forum:
  


Current Time: Thu Dec 26 13:57:04 GMT 2024

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

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

Back to the top