Skip to main content



      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 04:41 Go to next message
Eclipse UserFriend
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 07:25 Go to previous messageGo to next message
Eclipse UserFriend
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 03:57 Go to previous messageGo to next message
Eclipse UserFriend
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 08:42 Go to previous message
Eclipse UserFriend
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 Sep 18 17:23:12 EDT 2025

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

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

Back to the top