[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: How to get the ActivePage Layout ?
|
- From: viji_chandran@xxxxxxxxx (vijju)
- Date: Tue, 20 Nov 2007 06:18:26 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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