Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » GMF Property View Refresh Problem
GMF Property View Refresh Problem [message #380792] Thu, 21 June 2007 07:03 Go to next message
Balraj Kannan is currently offline Balraj Kannan
Messages: 28
Registered: July 2009
Junior Member
Hi,

I have this strange problem, When i create a new project and go edit
elements properties in the property sheet, the property sheet is updated
properly with the new value. But if i close and reopen the same project,
the update fails, the property sheet entry shows the old value even when
changed.
When i debugged the code, i could find that, once the model fires a
notification, the control enters the editParts "HandleNotification" method
(This happens for the first time when the project is newly created). But,
when i close and reopen the same project, the notification is not caught
by the editParts "HandleNotification" method. Can this be the problem. If
so, can you help me out by giving some suggestions how to go about fixing
this.


Regards
Balraj
Re: GMF Property View Refresh Problem [message #380795 is a reply to message #380792] Thu, 21 June 2007 07:24 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26013
Registered: July 2009
Senior Member
Balraj,

Please use the GMF newsgroup, which I've added to the "to" list of the
reply, for GMF specific questions.


Balraj wrote:
> Hi,
>
> I have this strange problem, When i create a new project and go edit
> elements properties in the property sheet, the property sheet is
> updated properly with the new value. But if i close and reopen the
> same project, the update fails, the property sheet entry shows the old
> value even when changed. When i debugged the code, i could find that,
> once the model fires a notification, the control enters the editParts
> "HandleNotification" method (This happens for the first time when the
> project is newly created). But, when i close and reopen the same
> project, the notification is not caught by the editParts
> "HandleNotification" method. Can this be the problem. If so, can you
> help me out by giving some suggestions how to go about fixing this.
>
> Regards
> Balraj
>
Re: GMF Property View Refresh Problem [message #594036 is a reply to message #380792] Thu, 21 June 2007 07:24 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26013
Registered: July 2009
Senior Member
Balraj,

Please use the GMF newsgroup, which I've added to the "to" list of the
reply, for GMF specific questions.


Balraj wrote:
> Hi,
>
> I have this strange problem, When i create a new project and go edit
> elements properties in the property sheet, the property sheet is
> updated properly with the new value. But if i close and reopen the
> same project, the update fails, the property sheet entry shows the old
> value even when changed. When i debugged the code, i could find that,
> once the model fires a notification, the control enters the editParts
> "HandleNotification" method (This happens for the first time when the
> project is newly created). But, when i close and reopen the same
> project, the notification is not caught by the editParts
> "HandleNotification" method. Can this be the problem. If so, can you
> help me out by giving some suggestions how to go about fixing this.
>
> Regards
> Balraj
>
Previous Topic:GMF Property View Refresh Problem
Next Topic:How to create extensible EMF model (via FeatureMaps) based on multiple XSDs (with substituion groups
Goto Forum:
  


Current Time: Fri Aug 29 12:29:10 EDT 2014

Powered by FUDForum. Page generated in 0.02127 seconds