Community
Participate
Working Groups
i wonder why the PropertyPage insist on making the element in it which is passed to the page as IAdaptable else a class cast exception occurs. in my case the object i want to see its properties is not IAdaptable and i don't want it to implement this interface in its class because i want the class to be generic and doesn't depend on eclipse, by forcing that the element is IAdaptable you stop the user from showing his ordinary objects (objects that don't implement IAdaptable) in the properties dialog. i know that i can wrap my object in an object that implement IAdaptable but i think the best way is to make the element as Object class object
The IAdaptable element was selected so that support for the preference and property pages for elements that adapt to IResource were supported. Marking this as a feature request as it is a breaking API change.
*** This bug has been marked as a duplicate of 56212 ***