|Best way to refresh GraphicalEditor when resource changes outside GEF [message #227295]
||Fri, 01 December 2006 22:57
Originally posted by: pbeag_RemoverIfNotASpammer_an.yahoo.com|
I have implemented my GraphicalEditor as a IResourceChangeListener. I
detect that my underlying XML
file has been modified.
What is the best way to refresh my Editor? I was thinking:
1. upon focus returning to editor, display a message box to user
notifying of changed resource and asking if he wants to reload.
2. opening a new editor window, using IDE.openEditor
3. closing the old editor window
And ideas? Could I somehow refresh the contents of the editor from
within the editor itself? Like just call setInput() again?
Powered by FUDForum
. Page generated in 0.02146 seconds