public class RemoteServiceContainerAdapterFactory extends AbstractSharedObjectContainerAdapterFactory
ADD_ADAPTER_ERROR_CODE, ADD_ADAPTER_ERROR_MESSAGE| Constructor and Description |
|---|
RemoteServiceContainerAdapterFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ISharedObject |
createAdapter(ISharedObjectContainer container,
Class adapterType,
ID adapterID)
Create an adapter instance that implements
ISharedObject and
adapterType. |
Class[] |
getAdapterList() |
createAdapterID, createAdapterProperties, getContainerAdapter, getSharedObjectAdaptergetAdapterpublic RemoteServiceContainerAdapterFactory()
protected ISharedObject createAdapter(ISharedObjectContainer container, Class adapterType, ID adapterID)
AbstractSharedObjectContainerAdapterFactoryISharedObject and
adapterType. The resulting instance must implement both
ISharedObject and adapterTypecreateAdapter in class AbstractSharedObjectContainerAdapterFactorycontainer - the container that will contain the new adapter instanceadapterType - the adapter type. The returned value must implement this
interfaceadapterID - the ID to use for the new adapterAbstractSharedObjectContainerAdapterFactory.getSharedObjectAdapter(ISharedObjectContainer, Class)
will also return nullpublic Class[] getAdapterList()
getAdapterList in interface org.eclipse.core.runtime.IAdapterFactorygetAdapterList in class AbstractSharedObjectContainerAdapterFactoryCopyright © 2004–2020 Eclipse Foundation. All rights reserved.