How to get IFileEditorInput? [message #214155] |
Wed, 06 June 2007 22:39 |
Eclipse User |
|
|
|
Originally posted by: gmguyx.gmail.com
In my plugin, I'm trying to obtain an IFileEditorInput.
However, I don't know how to get it.
I do know how to get an IEditorInput.
ie: IEditorInput editor =
activeWindow.getActivePage().getActiveEditor().getEditorInpu t();
But I don't know how to get the IFileEditorInput.
Does anyone know how to get this?
|
|
|
Re: How to get IFileEditorInput? [message #214194 is a reply to message #214155] |
Thu, 07 June 2007 01:48 |
Eclipse User |
|
|
|
Originally posted by: gmguyx.gmail.com
Please disregard this post since I already found the solution to my
problem. Before I had tried casting the IEditorInput to an
IFileEditorInput but it wasn't working. That's why I posted this question.
However, now it has magically started working. Not sure why.
|
|
|
Powered by
FUDForum. Page generated in 0.07810 seconds