public class LegacyPropertySectionRegistry extends java.lang.Object implements IItemRegistry
| Constructor and Description |
|---|
LegacyPropertySectionRegistry() |
| Modifier and Type | Method and Description |
|---|---|
IItemDescriptor |
add(IItemDescriptor descriptor)
Adds the given
IItemDescriptor to the registry. |
void |
clear()
Clears the registry.
|
java.util.List<IEEFSectionDescriptor> |
getPropertySections(java.lang.String contributorId,
java.lang.String tabId)
Get the property sections.
|
boolean |
remove(java.lang.String id)
Removes the
IItemDescriptor with the given identifier. |
public java.util.List<IEEFSectionDescriptor> getPropertySections(java.lang.String contributorId, java.lang.String tabId)
contributorId - The contributor IdtabId - Id of the tab for which we should get the sectionspublic IItemDescriptor add(IItemDescriptor descriptor)
IItemDescriptor to the registry.add in interface IItemRegistrydescriptor - The descriptorIItemDescriptor with the same identifier, or null if no registered
IItemDescriptor had the same identifierIItemRegistry.add(IItemDescriptor)public boolean remove(java.lang.String id)
IItemDescriptor with the given identifier.remove in interface IItemRegistryid - The identifierIItemRegistry.remove(String)public void clear()
clear in interface IItemRegistryIItemRegistry.clear()