Opening an editor [message #252823] |
Mon, 31 March 2008 22:57  |
Eclipse User |
|
|
|
Originally posted by: daved99.comcast.net
I am missing something here. I need to be able to programmatically open
an editor, but whenever I attempt to use any of the snippets here they
will NOT compile.
Most recently I tried this:
page.openEditor
(new FileEditorInput(modelFile),
workbench.getEditorRegistry().getDefaultEditor(modelFile.get FullPath().toString()).getId());
}
Eclipse gets all excited about "FileEditorInput". Does NOT recognize this
as a class. I look it up and it is supposed to be in
"org.eclipse.ui.part" which IS imported - still won't find it.
I have the same problem with the IDE.method - Eclipse can't find "IDE".
Same story with IStorageEditorInput.
What am I missing?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11484 seconds