[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: cannot be cast to org.eclipse.ui.ide.FileStoreEditorInput
|
Thanks for links. Actually there is a complication here.
The reason why I need my own EditorInput is:
When I create new editor, there is no any file in file system. So, I create
new Model (which provides content I will edit) and pass it to editor using
my EditorInput. It looks like:
EditorInput ei=new EditorInput( new Model());
window.getActivePage().openEditor(ei, Editor.ID);
So I need special EditorInput, which keeps my model. I don't see how I can
use standard EditorInput.What do I miss?
Thank you,
Andrey