|
|
|
|
|
Re: Problem deploying RCP application for Windows - Widget disposed too early [message #689344 is a reply to message #686491] |
Mon, 27 June 2011 09:36  |
Eclipse User |
|
|
|
In case anyone's interested, I found out what causes the error:
In my Perspective class, I define a placeholder folder and add views that are implemented in a different plug-in:
public void createInitialLayout(IPageLayout layout) {
...
IFolderLayout controlFolder = layout.createFolder("placeholder.id", IPageLayout.RIGHT, 0.8f, IPageLayout.ID_EDITOR_AREA);
controlFolder.addView("view.id.1");
controlFolder.addView("view.id.2");
}
The Perspective class is in plug-in A whereas the added views are in another plug-in B. That in combination with a premature disposal of SWT graphics resources caused the problem ...
In retrospect, it somehow makes sense to get an error there, but what still puzzles me is that I don't have any problems at all on my Linux development environment.
Well, be it as it may - problem worked around
[Updated on: Mon, 27 June 2011 10:10] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03673 seconds