public class LegacyPropertyContributorRegistry extends java.lang.Object implements IItemRegistry
| Constructor and Description |
|---|
LegacyPropertyContributorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
IItemDescriptor |
add(IItemDescriptor itemDescriptor)
Adds the given
IItemDescriptor to the registry. |
void |
clear()
Clears the registry.
|
java.util.List<java.lang.String> |
getPropertyCategories()
Get property categories.
|
IItemDescriptor |
remove(java.lang.String id)
Removes the
IItemDescriptor with the given identifier. |
public java.util.List<java.lang.String> getPropertyCategories()
public IItemDescriptor add(IItemDescriptor itemDescriptor)
IItemDescriptor to the registry.add in interface IItemRegistryitemDescriptor - The descriptorIItemDescriptor with the same identifier, or null if no registered
IItemDescriptor had the same identifierIItemRegistry.add(IItemDescriptor)public IItemDescriptor remove(java.lang.String id)
IItemDescriptor with the given identifier.remove in interface IItemRegistryid - The identifierIItemDescriptor removed or null if no registered IItemDescriptor had an identifier
matching the given oneIItemRegistry.remove(String)public void clear()
clear in interface IItemRegistryIItemRegistry.clear()