Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » saving resources
saving resources [message #428003] Mon, 09 March 2009 16:26 Go to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi All,

Is it possible to detect resources modifications from a VIEW and enable
saving ?

cheers.
Re: saving resources [message #428007 is a reply to message #428003] Mon, 09 March 2009 16:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Yes but that obviously depends on how you implement the view, and about
that you've said nothing...


exquisitus wrote:
> Hi All,
>
> Is it possible to detect resources modifications from a VIEW and
> enable saving ?
>
> cheers.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: saving resources [message #428011 is a reply to message #428007] Mon, 09 March 2009 16:54 Go to previous message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Sorry,

Actually, I have overridden the doSave and isDirty method. In the last
one, I just listen changes on command stack of the editing domain.
I have then initialized an action registry and used it to set global
action handler "save"...that's all. I thought that I had to implement
the ISaveableSource interface but I am not sure about that.
thx for help

Ed Merks a écrit :
> Yes but that obviously depends on how you implement the view, and about
> that you've said nothing...
>
>
> exquisitus wrote:
>> Hi All,
>>
>> Is it possible to detect resources modifications from a VIEW and
>> enable saving ?
>>
>> cheers.
Previous Topic:XSD Restriction just XSD ?
Next Topic:[Teneo CDO] Problem generating mapping file
Goto Forum:
  


Current Time: Sat Apr 27 04:45:00 GMT 2024

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

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

Back to the top