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 #55447] 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?

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

Current Time: Sun Sep 25 14:49:09 GMT 2022

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

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

Back to the top