Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JavaFileEditorInput discouraged access warnings with 31rc1
JavaFileEditorInput discouraged access warnings with 31rc1 [message #286060] Wed, 01 June 2005 15:27 Go to next message
Brian Kozitza is currently offline Brian KozitzaFriend
Messages: 20
Registered: July 2009
Junior Member
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?
Re: JavaFileEditorInput discouraged access warnings with 31rc1 [message #286300 is a reply to message #286060] Mon, 06 June 2005 22:31 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Any interest in plugin for WSFTP?
Next Topic:Information needed Regarding Eclipse platform
Goto Forum:
  


Current Time: Thu Jun 27 20:48:13 GMT 2024

Powered by FUDForum. Page generated in 0.02837 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top