Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to get perspective reference from MultiPageEditorPart or ViewPart
How to get perspective reference from MultiPageEditorPart or ViewPart [message #453173] Mon, 24 July 2006 09:12 Go to next message
Eclipse UserFriend
Hi,

Please somebody tell me how to get perspective reference from associated
MultiPageEditorPart or ViewPart.

-Faisal
Re: How to get perspective reference from MultiPageEditorPart or ViewPart [message #453179 is a reply to message #453173] Mon, 24 July 2006 10:45 Go to previous message
Eclipse UserFriend
Faisal wrote:
> Hi,
>
> Please somebody tell me how to get perspective reference from associated
> MultiPageEditorPart or ViewPart.

Why do you want the perspective reference? What are you trying to
accomplish?

viewPart.getSite().getPage().getPerspective() will get you the current
IPerspectiveDescriptor ... but it's read-only.

There isn't a way to programmatically write to the current perspective,
AFAIK.

Later,
PW
Previous Topic:Properties Pop-up
Next Topic:Cant launch imported RCP project, "not in registry" error
Goto Forum:
  


Current Time: Fri Jul 04 13:44:24 EDT 2025

Powered by FUDForum. Page generated in 0.04325 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top