Opening external file [message #289606] |
Mon, 08 August 2005 18:33 |
Eclipse User |
|
|
|
Originally posted by: no_email_please.hotmail.com
Hi, is there a way of opening an external file programmatically?
After doing some searches on this forum, apparently I need to look at
ExternalClassFileEditorInput and OpenExternalFileAction but these are
internal and I can't seem to find the docs on them anyways, where
should I look?
I did manage to get the file to open with the DefaultTextEditor but
I get errors when the IDE tries to save the file when exiting the app...
When using another editor (in my case one from Rational), I get:
org.eclipse.ui.PartInitException: IWAW0109E Failed to create model.
and a message box:
Failed to open file.
The specified file is not found.
And of course, I know the file is there because I can open it using
the default editor.
Any ideas?
Thanks
Nic
|
|
|
Re: Opening external file [message #290264 is a reply to message #289606] |
Mon, 22 August 2005 14:49 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Nicolas Legare wrote:
>Hi, is there a way of opening an external file programmatically?
>After doing some searches on this forum, apparently I need to look at
>ExternalClassFileEditorInput and OpenExternalFileAction but these are
>internal and I can't seem to find the docs on them anyways, where
>should I look?
>
>
Look at the code that those internal classes use.
Dani
>I did manage to get the file to open with the DefaultTextEditor but
>I get errors when the IDE tries to save the file when exiting the app...
>
>When using another editor (in my case one from Rational), I get:
>org.eclipse.ui.PartInitException: IWAW0109E Failed to create model.
>and a message box:
>Failed to open file.
>The specified file is not found.
>
>And of course, I know the file is there because I can open it using
>the default editor.
>
>Any ideas?
>
>Thanks
>Nic
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03009 seconds