OpenFile from RCP and MultiPageEditorPart [message #437818] |
Wed, 05 October 2005 13:50 |
drew frantz Messages: 340 Registered: July 2009 |
Senior Member |
|
|
I have a multi-page editor that works fine when using the plugin as a true
plugin., but i use the MultiPageEditor as an RCP applicatin i start to run
into problem,.
p1: IPageLayout.ID_RES_NAV does not display any icons for projects or files.
p2: MultiPafeEditorPart.init(IEditorSite site, IEditorInput input) has an
IEditportInput that is now a IPathEditorInput, (instead of IFileEditorInput
when used as a plugin).
When i call the following code i get a Resource Not found expcetion
URI uri = URI.createPlatformResourceURI(sInputPath);
Resource resource = rsrcSet.getResource(uri, true);
This is an EMF model that I am trying to open, and I assume that the
resource has not been located since I am no longer dealing with resources
during a File->Open File...
Anyone have any ideas, how to handle this flow?
|
|
|
Powered by
FUDForum. Page generated in 0.03231 seconds