[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Resource out of sync with the filesystem in multipage editor
|
Hi,
I have created a multipage editor(extends MultiPageEditorPart) and named
it as "Sample CEditor"
On one of the page am adding a CEditor like this
int index = addPage(new CEditor(), getEditorInput());
other page contains some view.
Every thing is working fine, but ...
i opened a file say sample.c outside the eclipse workspace and i did some
modifications.
And when i opened the same file inside the workspace using "Text Editor"
it prompts me with the "File Changed" dialog box and asks for,
"The file has been changed on the file system. Do you want to load the
changes?"
If we say "Yes" it refreshes the Contents on the file.
I expecting the same kind of behaviour on my "Sample CEditor", But i don't
know how to implement...
Can any one help me to do the same.....
Thanks and Regards,
Ravi.