Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Cannot access IFileEditorInput
Cannot access IFileEditorInput [message #451074] Tue, 22 February 2005 17:53 Go to next message
Eclipse UserFriend
Originally posted by: jai.kejriwal.air2web.com

Hi,

I am building a view plugin. I need to create a IFileEditorInput object to
access
the getFile() method on the active text editor. Despite having listed,
org.eclipse.ui
as a dependency, I am unable to import IFileEditorInput. It gives a "cannot
resolve"
error.

I tired removing the dependency and adding it to the build path but that
did not
work either. Please help!

Jai
Re: Cannot access IFileEditorInput [message #451197 is a reply to message #451074] Thu, 24 February 2005 14:41 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi Jai,

Have you added in on your project's build path (right-click your project,
select Properties, go to Java Build Path item) ?

If this doesn't help then you may get more suggestions if you ask this on
the eclipse.platform newsgroup.

Grant

"Jai Kejriwal" <jai.kejriwal@air2web.com> wrote in message
news:cvfrhr$9i3$1@www.eclipse.org...
> Hi,
>
> I am building a view plugin. I need to create a IFileEditorInput object to
> access
> the getFile() method on the active text editor. Despite having listed,
> org.eclipse.ui
> as a dependency, I am unable to import IFileEditorInput. It gives a
"cannot
> resolve"
> error.
>
> I tired removing the dependency and adding it to the build path but that
> did not
> work either. Please help!
>
> Jai
>
>
Re: Cannot access IFileEditorInput [message #451296 is a reply to message #451197] Thu, 24 February 2005 19:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Use the New wizard to generate one of the editor templates and look at
that project's dependencies.

Bob Foster

Grant Gayed wrote:
> Hi Jai,
>
> Have you added in on your project's build path (right-click your project,
> select Properties, go to Java Build Path item) ?
>
> If this doesn't help then you may get more suggestions if you ask this on
> the eclipse.platform newsgroup.
>
> Grant
>
> "Jai Kejriwal" <jai.kejriwal@air2web.com> wrote in message
> news:cvfrhr$9i3$1@www.eclipse.org...
>
>>Hi,
>>
>>I am building a view plugin. I need to create a IFileEditorInput object to
>>access
>>the getFile() method on the active text editor. Despite having listed,
>>org.eclipse.ui
>>as a dependency, I am unable to import IFileEditorInput. It gives a
>
> "cannot
>
>>resolve"
>>error.
>>
>>I tired removing the dependency and adding it to the build path but that
>>did not
>>work either. Please help!
>>
>>Jai
>>
>>
>
>
>
Re: Cannot access IFileEditorInput [message #451313 is a reply to message #451197] Fri, 25 February 2005 13:45 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
oops, I obviously didn't read the second part of your original message close
enough, sorry.

"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:cvkp29$jc4$1@www.eclipse.org...
> Hi Jai,
>
> Have you added in on your project's build path (right-click your project,
> select Properties, go to Java Build Path item) ?
>
> If this doesn't help then you may get more suggestions if you ask this on
> the eclipse.platform newsgroup.
>
> Grant
>
> "Jai Kejriwal" <jai.kejriwal@air2web.com> wrote in message
> news:cvfrhr$9i3$1@www.eclipse.org...
> > Hi,
> >
> > I am building a view plugin. I need to create a IFileEditorInput object
to
> > access
> > the getFile() method on the active text editor. Despite having listed,
> > org.eclipse.ui
> > as a dependency, I am unable to import IFileEditorInput. It gives a
> "cannot
> > resolve"
> > error.
> >
> > I tired removing the dependency and adding it to the build path but
that
> > did not
> > work either. Please help!
> >
> > Jai
> >
> >
>
>
Previous Topic:Toggle Lists
Next Topic:Table Update
Goto Forum:
  


Current Time: Thu Apr 25 13:24:07 GMT 2024

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

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

Back to the top