Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Property sheet and ISelectionProvider
Property sheet and ISelectionProvider [message #55447] Wed, 15 April 2009 21:20
Eclipse UserFriend
I've started using the Eclipse property view plug-in. I'm able to create
property descriptors and the properties are displayed in the default
property page. This includes categories and complex properties. Right
now the popup menu on all the items display 'Copy' and 'Restore default
values'. I want to make the property view a ISelectionProvider and
contribute a different context menu based on selection. Is there any easy
way to do this?

I got it working by extending the property sheet, implementing the
ISelectionProvider interface, capturing the Tree selection, and
broadcasting the selection. This seems rather cumbersome and I was hoping
there was a simpler solution. Any ideas?

Richard
Previous Topic:Headless build doesn't enforce OSGi constraints
Next Topic:Property sheet and ISelectionProvider
Goto Forum:
  


Current Time: Fri Jun 06 11:15:23 EDT 2025

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

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

Back to the top