How to programmatically reload a text editor in Eclipse?

Posted by thSoft on Stack Overflow See other posts from Stack Overflow or by thSoft
Published on 2010-02-11T00:22:10Z Indexed on 2010/04/27 3:23 UTC
Read the original article Hit count: 162

Filed under:
|

In Eclipse, if I change a file programmatically, and it is open in a text editor, it doesn't always reload, not even when refreshing the resource programmatically. How can I forcibly reload the text editor from code so that it show the changed file contents?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about text-editor