Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » More differences between development environment and exported product.(Opening .htm file differs depending on context.)
More differences between development environment and exported product. [message #1279898] Sat, 29 March 2014 12:30
Peter Robertson is currently offline Peter Robertson
Messages: 14
Registered: April 2012
Location: Scotland
Junior Member
Although it appears that many questions on this board get no answers, I am an eternal optimist...

I am using the following to open a file (x.htm).
 IFileStore fileStore = ...
 IWorkbench wb = PlatformUI.getWorkbench();
 IWorkbenchWindow window = wb.getActiveWorkbenchWindow();
 IWorkbenchPage page = window.getActivePage();
 IDE.openEditorOnFileStore(page, fileStore);

When I run the application from the development environment, this file is opened inside the Eclipse window as expected.

When I run the exported application, the file is opened in a separate browser window.

I have used Organise Manifests... on all the MANIFEST.MF files in my project to ensure they are up-to-date.

Can anyone suggest why I am getting this difference in behaviour?
Previous Topic:will Eclipse RCP 3.x run on Java 8?
Next Topic:[Eclipse 3.x] How to add Console to RCP App. using Extension Points Mechanism
Goto Forum:
  


Current Time: Thu Oct 30 14:00:46 GMT 2014

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

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