[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Refresh of content in already opened Editor

Karin Schellner wrote:
Hi,

I have the following problem:

- I am opening an Editor and setting its content
- then I am changing the content of the Editor and would like to show the Editor again with the updated content


I am doing that with IDE.openEditor(...)

If the Editor was not closed before the content does not get updated though, as the documentation of the openEditor-method says: "If the page already has an editor open on the target object then that editor is brought to front; otherwise, a new editor is opened."

Is there a way to initiate a refresh of the content in an already opened Editor?
What kind of editor? If you use the text editor framework then you get this for free.

Dani
Thanks for any response,
karin