org.eclipse.emf.edit.provider
Class ComposedAdapterFactory.Descriptor.Registry.Impl

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.eclipse.emf.edit.provider.ComposedAdapterFactory.Descriptor.Registry.Impl
All Implemented Interfaces:
Cloneable, ComposedAdapterFactory.Descriptor.Registry, Map, Serializable
Enclosing class:
ComposedAdapterFactory.Descriptor.Registry

public static class ComposedAdapterFactory.Descriptor.Registry.Impl
extends HashMap
implements ComposedAdapterFactory.Descriptor.Registry

A simple registry implementation that supports delegation.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.edit.provider.ComposedAdapterFactory.Descriptor.Registry
ComposedAdapterFactory.Descriptor.Registry.Impl
 
Field Summary
protected  ComposedAdapterFactory.Descriptor.Registry delegateRegistry
          The delegate registry should lookup fail locally.
 
Fields inherited from interface org.eclipse.emf.edit.provider.ComposedAdapterFactory.Descriptor.Registry
INSTANCE
 
Constructor Summary
ComposedAdapterFactory.Descriptor.Registry.Impl(ComposedAdapterFactory.Descriptor.Registry delegateRegistry)
          Creates an instance.
 
Method Summary
protected  ComposedAdapterFactory.Descriptor delegatedGetDescriptor(Collection types)
          This is called when local lookup fails.
 ComposedAdapterFactory.Descriptor getDescriptor(Collection types)
          Returns descriptor that can create a factory for the types.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

delegateRegistry

protected ComposedAdapterFactory.Descriptor.Registry delegateRegistry
The delegate registry should lookup fail locally.

Constructor Detail

ComposedAdapterFactory.Descriptor.Registry.Impl

public ComposedAdapterFactory.Descriptor.Registry.Impl(ComposedAdapterFactory.Descriptor.Registry delegateRegistry)
Creates an instance.

Parameters:
delegateRegistry - null or a registration that should act as the delegate.
Method Detail

getDescriptor

public ComposedAdapterFactory.Descriptor getDescriptor(Collection types)
Description copied from interface: ComposedAdapterFactory.Descriptor.Registry
Returns descriptor that can create a factory for the types.

Specified by:
getDescriptor in interface ComposedAdapterFactory.Descriptor.Registry
Returns:
a descriptor that can create a factory for the types.

delegatedGetDescriptor

protected ComposedAdapterFactory.Descriptor delegatedGetDescriptor(Collection types)
This is called when local lookup fails.


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.