Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Getting Project from JSP editor
Getting Project from JSP editor [message #187917] Mon, 12 February 2007 08:24 Go to previous message
Eclipse User
Originally posted by: kim.turner.bankofamerica.com

I am writing a small extension to the JSP editor to facilitate
externalizing text for internationalization of a web application. One of
the tasks that I need to implement is to search for and create if
necessary, a resource bundle. To accomplish this I need to get the
enclosing project. The examples that I have been able to find use
IFileEditorInput, but this class cannot be resolved. I am pretty confident
that I have included the appropriate plug-ins in my dependencies. I have
also searched through many jar files, and the cvs repository for this
class, but I have not been able to locate it. I did find a reference to
the class in org.eclipse.ui.editors.text.TextFileDocumentProvider.
According to the import in that file, IFileEditorInput should be in
eclipse.org.ui.

Can anyone tell me what happened to this class or provide an alternative
method to get the enclosing project from the JSP editor (ITextEditor)?

Thanks,
Kim
 
Read Message
Read Message
Previous Topic:Calling export war action in headless mode
Next Topic:Bug with WTP 2.0 M4 vs. Eclipse 3.3M5?
Goto Forum:
  


Current Time: Sun May 26 03:52:48 EDT 2013

Powered by FUDForum. Page generated in 0.01695 seconds