Class E4PartWrappingAdapterDelegator
java.lang.Object
org.palladiosimulator.commons.ui.e4.E4PartWrappingAdapterDelegator
- All Implemented Interfaces:
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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from interface org.eclipse.core.runtime.IAdapterFactory
SERVICE_PROPERTY_ADAPTABLE_CLASS, SERVICE_PROPERTY_ADAPTER_NAMES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
getAdapter
(Object adaptableObject, Class<T> adapterType) Class<?>[]
-
Field Details
-
ADAPTER_FACTORY_EXTENSION_POINT
- See Also:
-
ADAPTER_FACTORY_ADAPTED_OBJECT
- See Also:
-
ADAPTER_FACTORY_ADAPTER
- See Also:
-
ADAPTER_FACTORY_ADAPTER_TYPE
- See Also:
-
-
Constructor Details
-
E4PartWrappingAdapterDelegator
public E4PartWrappingAdapterDelegator()
-
-
Method Details
-
getAdapter
- Specified by:
getAdapter
in interfaceIAdapterFactory
-
getAdapterList
- Specified by:
getAdapterList
in interfaceIAdapterFactory
-