[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] IFolderLayout.addPlaceholder(ID) works only one time
|
Hi,
I've got a problem using the IFolderLayout.addPlaceholder(ID) method.
The following code is used to create the layout within my perspective:
layout.setEditorAreaVisible(false);
IFolderLayout folder = layout.createFolder(folderID, IPageLayout,
0.7f, layout.getEditorArea());
folder.addPlaceholder(MyView.ID+":*");
Now when running my feature based product within Eclipse IDE everything
works fine and the layout gets initiated correctly.
I can fill the placeholder with showView(MyView.ID) and ACTIVATE it.
Running the product after product export outside of Eclipse the first
run also works fine. But closing the product and re-open for the second
time results in a perspective without the placeholder. It seems that the
placeholder is not created. When I reset my perspective, everything is
on it's right place.
What do I wrong, that the placeholder is only shown one time regardless
THX for regard
R. Greuel