Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Property sheet and ISelectionProvider
Property sheet and ISelectionProvider [message #595313] Thu, 16 April 2009 01:20
Richard Koop is currently offline Richard KoopFriend
Messages: 15
Registered: July 2009
Junior Member
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:Property sheet and ISelectionProvider
Next Topic:p2 director can't find binary,org.eclipse.equinox.executable_root
Goto Forum:
  


Current Time: Sun Jun 20 16:44:56 GMT 2021

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

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

Back to the top