Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:12 Go to next message
Faisal is currently offline FaisalFriend
Messages: 19
Registered: July 2009
Junior Member
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 14:45 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 Oct 04 03:33:17 GMT 2024

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

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

Back to the top