T - The type of the object described@Deprecated public class ItemRegistry<T> extends java.lang.Object implements IItemRegistry<T>
IItemRegistry.| Constructor and Description |
|---|
ItemRegistry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IItemDescriptor<T> |
add(IItemDescriptor<T> descriptor)
Deprecated.
Adds the given
IItemDescriptor to the registry. |
void |
clear()
Deprecated.
Clears the registry.
|
IItemDescriptor<T> |
getItemDescriptor(java.lang.String id)
Deprecated.
Returns the
IItemDescriptor with the given identifier. |
java.util.List<IItemDescriptor<T>> |
getItemDescriptors()
Deprecated.
Returns all the
IItemDescriptor of the registry. |
IItemDescriptor<T> |
remove(java.lang.String id)
Deprecated.
Removes the
IItemDescriptor with the given identifier. |
public java.util.List<IItemDescriptor<T>> getItemDescriptors()
IItemDescriptor of the registry.getItemDescriptors in interface IItemRegistry<T>IItemDescriptor of the registryIItemRegistry.getItemDescriptors()public IItemDescriptor<T> getItemDescriptor(java.lang.String id)
IItemDescriptor with the given identifier.getItemDescriptor in interface IItemRegistry<T>id - The identifierIItemDescriptor with the given identifier or null if none could be foundIItemRegistry.getItemDescriptor(java.lang.String)public IItemDescriptor<T> add(IItemDescriptor<T> descriptor)
IItemDescriptor to the registry.add in interface IItemRegistry<T>descriptor - The descriptiorIItemDescriptor with the same identifier, or null if no registered
IItemDescriptor had the same identifierIItemRegistry.add(org.eclipse.eef.ide.api.extensions.IItemDescriptor)public IItemDescriptor<T> remove(java.lang.String id)
IItemDescriptor with the given identifier.remove in interface IItemRegistry<T>id - The identifierIItemDescriptor removed or null if no registered IItemDescriptor had an identifier
matching the given oneIItemRegistry.remove(java.lang.String)public void clear()
clear in interface IItemRegistry<T>IItemRegistry.clear()