Cannot access IFileEditorInput [message #451074] |
Tue, 22 February 2005 17:53 |
Eclipse User |
|
|
|
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 #451296 is a reply to message #451197] |
Thu, 24 February 2005 19:04 |
Eclipse User |
|
|
|
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
>>
>>
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02758 seconds