[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] How to get the ActivePage Layout ?

Hi
I created a perspective & i have added 2 views in this perspective like this i have somany perspectives in my application



public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);

layout.addView("Com.XYZ.View1", false,
IPageLayout.LEFT, 0.6f, layout.getEditorArea();
layout.addView("Com.XYZ.View2", false, IPageLayout.LEFT, 0.3f, layout.getEditorArea();
}



Now My problem is i want to store the Active Page(Perspective) views details in database


through viewregistry i'm able to get all view ID's in the activepage ,but how to get the position of the view(0.6f) & relationship(IPageLayout.LEFT) at runtime

Thanks,
vijju