Class E4PartWrappingAdapterDelegator

  • All Implemented Interfaces:
    IAdapterFactory

    public class E4PartWrappingAdapterDelegator
    extends Object
    implements IAdapterFactory
    This class acts as intermediate adapter factory for Eclipse's E4PartWrapper. Unfortunately, large parts of the IDE-code base relies on the legacy view framework, especially, the properties view. While there are a couple of E3E4 compatibility mechanisms in place, AdapterFactories are only queried based on the E4WrapperPart. This factory provides an adapter based on the wrapped view part. It looks up the according E4 view, and tries to retrieve the required adapter for it. It is currently registered to provide adapters for
    • org.eclipse.ui.views.properties.IPropertySheetPage
    • org.eclipse.ui.views.properties.IPropertySourceProvider
    • org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor
    • org.eclipse.eef.properties.ui.api.IEEFTabbedPropertySheetPageContributor
    It further provides E4 selection aware PropertySheetPage implementations, in case the view can be adapted to either a (EEF)TabbedPropertySheetPageContributor or a PropertySource(Provider). If you need the delegation for further adapter types, please register this delegator accordingly.