Class LazyItemDescriptor<T>
java.lang.Object
org.eclipse.emf.compare.rcp.internal.extension.impl.AbstractItemDescriptor<T>
org.eclipse.emf.compare.rcp.internal.extension.impl.LazyItemDescriptor<T>
- Type Parameters:
T- an item type
- All Implemented Interfaces:
Comparable<IItemDescriptor<T>>,IItemDescriptor<T>
- Direct Known Subclasses:
MatchEngineFactoryDescriptor
Descriptor for an item.
-
Field Summary
Fields inherited from class org.eclipse.emf.compare.rcp.internal.extension.impl.AbstractItemDescriptor
EMPTY_STRING -
Constructor Summary
ConstructorsConstructorDescriptionLazyItemDescriptor(String label, String description, int rank, org.eclipse.core.runtime.IConfigurationElement config, String id) Constructor. -
Method Summary
Methods inherited from class org.eclipse.emf.compare.rcp.internal.extension.impl.AbstractItemDescriptor
compareTo, getDescription, getID, getItemFunction, getLabel, getRank, toString
-
Constructor Details
-
LazyItemDescriptor
public LazyItemDescriptor(String label, String description, int rank, org.eclipse.core.runtime.IConfigurationElement config, String id) Constructor.- Parameters:
label-IItemDescriptor.getLabel()description-IItemDescriptor.getDescription()rank-IItemDescriptor.getRank()config-IConfigurationElementused to instantiate the item.id-IItemDescriptor.getID()
-
-
Method Details
-
getConfig
public org.eclipse.core.runtime.IConfigurationElement getConfig()IConfigurationElementused to instantiate the item.- Returns:
- IConfigurationElement.
-
getItem
Create an item.- Returns:
- a item instance
-