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

Hi
As u told i have reffered org.eclipse.ui.internal.Perspective class.It's storing all the layout details in XMLMemento.


is there anyway to read this XMLMemento at runtime?

Thsi is my code ...


PerspectiveDescriptor desc= (PerspectiveDescriptor) window.getActivePage().getPerspective();


   WorkbenchPage page=(WorkbenchPage)window.getActivePage();

org.eclipse.ui.internal.Perspective perspective=new Perspective(desc,page);

from this perspective can we get this XMLMemento & can we get this layout details from XMLMemento?

Thanks

vijju