Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Properties View without IAdaptable(How can I create a properties view for input elements that are not IAdaptable or IPropertySource ?)
Properties View without IAdaptable [message #754568] Thu, 03 November 2011 10:28 Go to next message
readingflyer is currently offline readingflyerFriend
Messages: 3
Registered: November 2010
Junior Member

I tried to create a properties view for a graph model. The problem is that the graph elements that are provided by the selection don't implement IAdaptable (or IPropertySource). Because of that, I don't see a way to use TabbedPropertiesView or something like that to get the properties view.

It seems that I have to implement my own IPropertySheetPage. I tried to search for examples but the only implementations I've found are PropertySheetPage and TabbedPropertySheetPage which are very complex - of course, they are very generic too.

Does anybody know how to realize a properties view for a model without the IAdaptable interface? Are there any other examples of IPropertySheetPages?

Thank you!
Re: Properties View without IAdaptable [message #757350 is a reply to message #754568] Thu, 17 November 2011 20:50 Go to previous messageGo to next message
Mark Walters is currently offline Mark WaltersFriend
Messages: 25
Registered: June 2011
Junior Member
can't you subclass the graph model elements to provide the methods you need?

Re: Properties View without IAdaptable [message #897146 is a reply to message #757350] Sun, 22 July 2012 14:42 Go to previous message
jim liu is currently offline jim liuFriend
Messages: 37
Registered: February 2011
Location: shanghai
You should implement a selection provider

java eclipse Search
Previous Topic:Generate Eclipse Product to Linux from Windows
Next Topic:Why is there no runtime adapter which provides IProject from IResource.
Goto Forum:

Current Time: Thu Apr 26 08:02:51 GMT 2018

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

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