|
Re: JavaFileEditorInput discouraged access warnings with 31rc1 [message #286300 is a reply to message #286060] |
Mon, 06 June 2005 22:31 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
kozitza@us.ibm.com wrote:
>With the 3.1RC1, I now get the following warning when I use
>JavaFileEditorInput
>
> Discouraged access: The type JavaFileEditorInput is not accessible due
>to restriction on required project org.eclipse.ui.editors
>
>
>Several post have encourage using this to do this.
>
Sorry but those wrong since they suggested using internal code.
> My question is what
>is the preferred way to progamatically open an external file into an
>editor?
>
>
Can't you just use the file buffer API?
Dani
|
|
|
Re: JavaFileEditorInput discouraged access warnings with 31rc1 [message #286362 is a reply to message #286060] |
Tue, 07 June 2005 18:00 |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.rigidsoftware.com
kozitza@us.ibm.com wrote:
> With the 3.1RC1, I now get the following warning when I use
> JavaFileEditorInput
>
> Discouraged access: The type JavaFileEditorInput is not accessible due
> to restriction on required project org.eclipse.ui.editors
>
>
> Several post have encourage using this to do this. My question is what
> is the preferred way to progamatically open an external file into an
> editor?
>
>
Design an IEditorInput for the file. Is it a standard file type like
text file or something?
CL
|
|
|
Powered by
FUDForum. Page generated in 0.05129 seconds