Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CDTUITools.openInEditor for an external file?

You can use
 
IEditorInput input = CDTUITools.getEditorInputForLocation(IPath, ICElement)
ICElement cElement = CDTUITools.getEditorInputCElement(input)
 
To open an external file, you can also use
 
IDE.openEditorOnFileStore(IWorkbenchPage, IFileStore)
 
HTH
Toni


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Elmenthaler, Jens
Sent: Tuesday, June 02, 2009 11:22 AM
To: CDT General developers list.
Subject: [cdt-dev] CDTUITools.openInEditor for an external file?

In order to use CDTUITools.openInEditor in my plugin, I need to provide an ICElement. Is there a way to obtain an ICElement for external files?

 

Thank, Jens.


Back to the top