Class MatchEngineFactoryDescriptor
java.lang.Object
org.eclipse.emf.compare.rcp.internal.extension.impl.AbstractItemDescriptor<T>
org.eclipse.emf.compare.rcp.internal.extension.impl.LazyItemDescriptor<IMatchEngine.Factory>
org.eclipse.emf.compare.rcp.internal.match.MatchEngineFactoryDescriptor
- All Implemented Interfaces:
Comparable<IItemDescriptor<IMatchEngine.Factory>>
,IItemDescriptor<IMatchEngine.Factory>
Descriptor for
IMatchEngine.Factory
.-
Field Summary
Fields inherited from class org.eclipse.emf.compare.rcp.internal.extension.impl.AbstractItemDescriptor
EMPTY_STRING
-
Constructor Summary
ConstructorDescriptionMatchEngineFactoryDescriptor
(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.LazyItemDescriptor
getConfig
Methods inherited from class org.eclipse.emf.compare.rcp.internal.extension.impl.AbstractItemDescriptor
compareTo, getDescription, getID, getItemFunction, getLabel, getRank, toString
-
Constructor Details
-
MatchEngineFactoryDescriptor
public MatchEngineFactoryDescriptor(String label, String description, int rank, org.eclipse.core.runtime.IConfigurationElement config, String id) Constructor.- Parameters:
label
-AbstractItemDescriptor.getLabel()
description
-AbstractItemDescriptor.getDescription()
rank
-AbstractItemDescriptor.getRank()
config
-IConfigurationElement
element used to create this item.id
-AbstractItemDescriptor.getID()
-
-
Method Details
-
getItem
Create an item. Set the rank of the factory and set configuration if needed.- Specified by:
getItem
in interfaceIItemDescriptor<IMatchEngine.Factory>
- Overrides:
getItem
in classLazyItemDescriptor<IMatchEngine.Factory>
- Returns:
- a item instance
-