Community
Participate
Working Groups
IWorkbenchPropertyPage declares the following methods: IAdaptable getElement(); void setElement(IAdaptable element); This forces anyone who would like to use the org.eclipse.ui.propertyPages extension to implement the IAdaptable interface. Often, especially in RCP applications, the classes/interfaces that the developer would like to implement propertyPages for are from some underlying data structure. The developer may not even have access to these data structures in order to modify them and make them implement IAdaptable. At this point the developer could create a wrapper class that implemented IAdaptable, but this if far from ideal. Especially if the selection provider is powered from a content provider which is pulling its data from the underlying model. If the IWorkbenchPropertyPage were changed to: Object getElement(); void setElement(Object element); it would be much easier to work with, and would not be a breaking change to current implementors.
*** This bug has been marked as a duplicate of 56212 ***