|Getting Project from JSP editor [message #187917]
||Mon, 12 February 2007 08:24
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
Can anyone tell me what happened to this class or provide an alternative
method to get the enclosing project from the JSP editor (ITextEditor)?