Different behavior between BUILD and eclipse run. [message #1387956] |
Wed, 25 June 2014 16:50 |
Eclipse User |
|
|
|
Hello together,
I recently have encountered a really strange problem in my RCP application.
But as first some background information about my RCP application.
It's a RCP application based on eclipse 3.x and consists of several perspectives with each containing a few views and editors.
The problem is when I run my application within eclipse via the run product button everything works as expected. When I open my perspective all my views and editors are correctly displayed.
But now comes the strange part when I create a build of my application with Maven and start this application my default perspective opens as normal and also displays all my views and editors as expected. But when I want to open my other perspectives then the perspective opens but don't display either views nor editors. All that I can see is a gray background and that's all.
I defined my perspective in my application as following:
public class ServiceManagerPerspective implements IPerspectiveFactory {
/**
* The perspective ID as specified in the extension.
*/
public final static String ID = "****";
@Override
public void createInitialLayout(final IPageLayout layout) {
layout.setFixed(true);
final String editorArea = layout.getEditorArea();
layout.setEditorAreaVisible(true);
final IFolderLayout serviceManagerFolder = layout.createFolder("ServiceManager", IPageLayout.LEFT, 0.25f, editorArea);
serviceManagerFolder.addView(NavigationView.ID);
layout.getViewLayout(NavigationView.ID).setCloseable(false);
}
}
So what do you think what could cause this strange behavior? I really tried out everything I could think off, but without success.
I can't grasp what's so different between running the application as a build or as a product in eclipse.
Hopefully someone can enlighten me 
Best regards,
Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.25893 seconds