Property sheet and ISelectionProvider [message #55447] |
Thu, 16 April 2009 01:20 |
Richard Koop 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
|
|
|
Powered by
FUDForum. Page generated in 0.03631 seconds