|
|
Re: Getting Ecore based editors refreshed after TransactionalEditingDomain RecordingCommand [message #415801 is a reply to message #415786] |
Mon, 07 January 2008 14:55 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Ed, Lucas,
Do Commands use a different mechanism than Notifications for telling item
providers about changes? For example, RecordingCommand doesn't compute
an "affected objects" collection.
Cheers,
Christian
Ed Merks wrote:
> Lucas,
>
> I would expect it would just refresh itself by virtue of having notified
> the item providers of all the changes that were made. Saving it or not
> doesn't seem relevant, since saving is not a change to the model the
> editor is viewing. I think I need more details...
>
>
> lucas bigeardel wrote:
>> Hi,
>>
>> I was wondering what would be the best solution to get an "XYZ Ecore
>> based" editor content "refreshed" after having modified its Resource
>> with a TransationalEditingDomain with a RecordingCommand and saved it.
>>
>> I was guessing saving its resource was suffisient but didn't remember
>> a pertinent way to do.
>>
>> regards,
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds