|
Re: Open IFile int the main window [message #325772 is a reply to message #325770] |
Tue, 26 February 2008 15:39 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jörg,
You'll need to create a FileEditorInput to what the IFile.
Jörg wrote:
> 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().getActi vePage().openEditor(IFile);
>
>
> but this method exist not in this way.
>
> I think it is quite easy but i found nothing what really helped me.
|
|
|
|
Re: Open IFile int the main window [message #325776 is a reply to message #325775] |
Tue, 26 February 2008 17:49 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------040109090603040407020009
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
J
|
|
|
|
Re: Open IFile int the main window [message #325796 is a reply to message #325795] |
Wed, 27 February 2008 13:28 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------090905040709080803010508
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
J
|
|
|
|
Powered by
FUDForum. Page generated in 0.04586 seconds