Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Using a view from one plugin in another plugin's perspective
Using a view from one plugin in another plugin's perspective [message #458767] Fri, 24 November 2006 04:02 Go to next message
Eclipse UserFriend
Originally posted by: alice_ace9.yahoo.com

Hi all,

The scenario is, I have a plugin P1 with a single view in it. Another plugin P2 has a perspective & I want to show P1's view in P2's perspective.
How can this be done?

Thanks!
Re: Using a view from one plugin in another plugin's perspective [message #458768 is a reply to message #458767] Fri, 24 November 2006 05:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

If p2 is dependent on p1 why not just add that view when laying out p2
perspective? I think you can even do it without dependence present - all
you need to add a view to a perspective is just its id.
Or you can make that view sticky, so that once shown it will be shown in
every perspective.

alice9 wrote:
> Hi all,
>
> The scenario is, I have a plugin P1 with a single view in it. Another plugin P2 has a perspective & I want to show P1's view in P2's perspective.
> How can this be done?
>
> Thanks!
Re: Using a view from one plugin in another plugin's perspective [message #458770 is a reply to message #458767] Fri, 24 November 2006 05:05 Go to previous message
Eclipse UserFriend
Hi,

In the Exported packages section of runtime tab of the plugin.xml of the plugin P1 add the package containing the view and then you can use your view in the perspective of the plugin P2.


Have a nice day!
Regards,
Rohit
Previous Topic:Execute view's methods from another view
Next Topic:How to bundle the JRE's for Windows and for Linux in my RCP application?
Goto Forum:
  


Current Time: Wed Sep 17 18:40:42 EDT 2025

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

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

Back to the top