Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Can I get the IEditorPart from IFile ?
Can I get the IEditorPart from IFile ? [message #166271] Fri, 05 December 2003 06:48 Go to next message
Eclipse UserFriend
Originally posted by: sckimos.enet.co.kr

Hi.

If I have an IFile and the file is open, can I get the IEditorPart object
from it?
Re: Can I get the IEditorPart from IFile ? [message #166485 is a reply to message #166271] Fri, 05 December 2003 11:26 Go to previous message
Eclipse UserFriend
Kimos wrote:

> Hi.

> If I have an IFile and the file is open, can I get the IEditorPart object
> from it?

Try "WorkbenchPage.getEditorManager().findEditor(new
FileEditorInput(file))". I think that will work...

Derek
Previous Topic:Workspace saves
Next Topic:Clay Database Modelling
Goto Forum:
  


Current Time: Tue Jul 22 14:00:48 EDT 2025

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

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

Back to the top