public class EffectsItemProviderAdapterFactory extends EffectsAdapterFactory 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 |
---|
EffectsItemProviderAdapterFactory()
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 |
createCategoryEffectAdapter()
This creates an adapter for a
CategoryEffect . |
Adapter |
createEffectCategoryAdapter()
This creates an adapter for a
EffectCategory . |
Adapter |
createEffectRepositoryAdapter()
This creates an adapter for a
EffectRepository . |
Adapter |
createQualityEffectAdapter()
This creates an adapter for a
QualityEffect . |
Adapter |
createSimpleEffectAdapter()
This creates an adapter for a
SimpleEffect . |
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, createEffectAdapter, createEObjectAdapter, createIdentifierAdapter
adaptAllNew, adaptNew
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptAllNew, adaptNew
public EffectsItemProviderAdapterFactory()
public Adapter createSimpleEffectAdapter()
SimpleEffect
.
createSimpleEffectAdapter
in class EffectsAdapterFactory
SimpleEffect
public Adapter createEffectRepositoryAdapter()
EffectRepository
.
createEffectRepositoryAdapter
in class EffectsAdapterFactory
EffectRepository
public Adapter createEffectCategoryAdapter()
EffectCategory
.
createEffectCategoryAdapter
in class EffectsAdapterFactory
EffectCategory
public Adapter createQualityEffectAdapter()
QualityEffect
.
createQualityEffectAdapter
in class EffectsAdapterFactory
QualityEffect
public Adapter createCategoryEffectAdapter()
CategoryEffect
.
createCategoryEffectAdapter
in class EffectsAdapterFactory
CategoryEffect
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 EffectsAdapterFactory
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