Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » getting the view's plugin
getting the view's plugin [message #314196] Wed, 04 April 2007 13:12 Go to next message
Eclipse UserFriend
Hi,

I am writting a base view part class that others will extend to provide
concrete implementation of the view. In my base view part I want to read
the dialog settings and initialize. How can I get the handle to the
plugin class in which the view is contributed?

Thanks
Anand

--
____________________________________________________________ _________________________

Anand Narasimhan
anandn@cisco.com
Re: getting the view's plugin [message #314267 is a reply to message #314196] Thu, 05 April 2007 15:07 Go to previous message
Eclipse UserFriend
Make sure your base extends ViewPart, and then you can do
getConfigurationElement() to get the IConfigurationElement that created
the view. From there you can get the contributor.

PW
Previous Topic:Build Automatically
Next Topic:run as ant build?
Goto Forum:
  


Current Time: Mon Jul 14 03:00:21 EDT 2025

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

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

Back to the top