Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » OpenFile from RCP and MultiPageEditorPart
OpenFile from RCP and MultiPageEditorPart [message #437818] Wed, 05 October 2005 13:50
drew frantz is currently offline drew frantzFriend
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?
Previous Topic:How to add own components into the status line ?
Next Topic:ContributionItemFactory.PERSPECTIVES_SHORTLIST and CoolBar
Goto Forum:
  


Current Time: Tue Dec 10 14:17:56 GMT 2024

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

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

Back to the top