[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Open IFile int the main window
|
- From: Jörg <jogi2k@xxxxxx>
- Date: Tue, 26 Feb 2008 16:30:47 +0100
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Hello,
i have a tableviewer with some Ifiles as input. Now i wanted to open a
file by doubleclick this cell. How can i do this? i have allready the
listener and the IFile. I found code like this to open the editor:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(IFile);
but this method exist not in this way.
I think it is quite easy but i found nothing what really helped me.