public class ModuleRepositoryItemProviderAdapterFactory extends ModuleRepositoryAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable
fireNotifyChanged
.
The adapters also support Eclipse property sheets.
Note that most of the adapters are shared among multiple instances.
Constructor and Description |
---|
ModuleRepositoryItemProviderAdapterFactory()
This constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
adapt(Notifier notifier,
Object type)
This implementation substitutes the factory itself as the key for the adapter.
|
Object |
adapt(Object object,
Object type) |
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.
|
Adapter |
createInductiveSensorModuleAdapter()
This creates an adapter for a
InductiveSensorModule . |
Adapter |
createModuleAdapter()
This creates an adapter for a
Module . |
Adapter |
createMotorModuleAdapter()
This creates an adapter for a
MotorModule . |
Adapter |
createOpticalSensorModuleAdapter()
This creates an adapter for a
OpticalSensorModule . |
Adapter |
createPresenceSensorModuleAdapter()
This creates an adapter for a
PresenceSensorModule . |
Adapter |
createPressureSensorModuleAdapter()
This creates an adapter for a
PressureSensorModule . |
Adapter |
createPusherModuleAdapter()
This creates an adapter for a
PusherModule . |
Adapter |
createRampModuleAdapter()
This creates an adapter for a
RampModule . |
Adapter |
createSensorModuleAdapter()
This creates an adapter for a
SensorModule . |
void |
dispose()
This disposes all of the item providers created by this factory.
|
void |
fireNotifyChanged(Notification notification)
This delegates to
changeNotifier and to parentAdapterFactory . |
ComposeableAdapterFactory |
getRootAdapterFactory()
This returns the root adapter factory that contains this factory.
|
boolean |
isFactoryForType(Object type) |
void |
removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.
|
void |
setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.
|
createAdapter, createEObjectAdapter, createIdentifierAdapter
adaptAllNew, adaptNew
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptAllNew, adaptNew
public ModuleRepositoryItemProviderAdapterFactory()
public Adapter createModuleAdapter()
Module
.
createModuleAdapter
in class ModuleRepositoryAdapterFactory
Module
public Adapter createRampModuleAdapter()
RampModule
.
createRampModuleAdapter
in class ModuleRepositoryAdapterFactory
RampModule
public Adapter createPusherModuleAdapter()
PusherModule
.
createPusherModuleAdapter
in class ModuleRepositoryAdapterFactory
PusherModule
public Adapter createMotorModuleAdapter()
MotorModule
.
createMotorModuleAdapter
in class ModuleRepositoryAdapterFactory
MotorModule
public Adapter createSensorModuleAdapter()
SensorModule
.
createSensorModuleAdapter
in class ModuleRepositoryAdapterFactory
SensorModule
public Adapter createOpticalSensorModuleAdapter()
OpticalSensorModule
.
createOpticalSensorModuleAdapter
in class ModuleRepositoryAdapterFactory
OpticalSensorModule
public Adapter createInductiveSensorModuleAdapter()
InductiveSensorModule
.
createInductiveSensorModuleAdapter
in class ModuleRepositoryAdapterFactory
InductiveSensorModule
public Adapter createPresenceSensorModuleAdapter()
PresenceSensorModule
.
createPresenceSensorModuleAdapter
in class ModuleRepositoryAdapterFactory
PresenceSensorModule
public Adapter createPressureSensorModuleAdapter()
PressureSensorModule
.
createPressureSensorModuleAdapter
in class ModuleRepositoryAdapterFactory
PressureSensorModule
public ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory
in interface ComposeableAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory
in interface ComposeableAdapterFactory
public boolean isFactoryForType(Object type)
isFactoryForType
in interface AdapterFactory
isFactoryForType
in class ModuleRepositoryAdapterFactory
public Adapter adapt(Notifier notifier, Object type)
adapt
in interface AdapterFactory
adapt
in class AdapterFactoryImpl
public Object adapt(Object object, Object type)
adapt
in interface AdapterFactory
adapt
in class AdapterFactoryImpl
public void addListener(INotifyChangedListener notifyChangedListener)
addListener
in interface IChangeNotifier
public void removeListener(INotifyChangedListener notifyChangedListener)
removeListener
in interface IChangeNotifier
public void fireNotifyChanged(Notification notification)
changeNotifier
and to parentAdapterFactory
.
fireNotifyChanged
in interface IChangeNotifier
public void dispose()
dispose
in interface IDisposable