[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] storageeditorinput and SAVE ???

Hi all,

I have an object model that represents object in a database .
I have got an input stream / output stream to use during the load / save operation .



The question is: I did a MyEditorInput which extends a IStorageEditorInput .

Based on the extension file I open the eclipse default editor for that db object (ie. Structured for xml file . texteditor for txt) .

No problem in opening the editor . but what shall I do to save it?
I don't want to implement the IPersistableElement what I need is press the save button and be sure that the information will be passed to the output stream ...


I have done previously this extending the (StructuredTextEditor) ... but what shall I do to use the normal editors?

Thanks
Kar