Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] editor plugin custom open/save

Please ask those kinds of questions in the newsgroups. This mailing list is
for those developing Eclipse.
Regarding your question: maybe your document provider's getDocument(Object)
is not correct.

Dani


                                                                           
             Roberto MIlev                                                 
             <milev_r@xxxxxxxx                                             
             .uk>                                                       To 
             Sent by:                  eclipse-dev@xxxxxxxxxxx             
             eclipse-dev-admin                                          cc 
             @eclipse.org                                                  
                                                                   Subject 
                                       [eclipse-dev] editor plugin custom  
             09.12.2004 18:37          open/save                           
                                                                           
                                                                           
             Please respond to                                             
             eclipse-dev@eclip                                             
                  se.org                                                   
                                                                           
                                                                           




I am developing a editor plug-in that extends TextEditor. I have a custom
XML format and I want just part of the content to be edited in the editor.
Upon save I want to merge the changes and save the file in the XML format.

I tried overriding the createContent and doSave methods in the Provider
class but after I save the file I get the full XML content in the editor.

What should I do?

Thanks


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com





Back to the top