Class WeightProviderDescriptorRCPImpl
- java.lang.Object
-
- org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor<WeightProvider>
-
- org.eclipse.emf.compare.rcp.internal.match.WeightProviderDescriptorRCPImpl
-
- All Implemented Interfaces:
WeightProvider.Descriptor
public class WeightProviderDescriptorRCPImpl extends PluginClassDescriptor<WeightProvider> implements WeightProvider.Descriptor
Describes an extension as contributed to the "org.eclipse.emf.compare.rcp.weightProvider" extension point.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.compare.match.eobject.WeightProvider.Descriptor
WeightProvider.Descriptor.Registry
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor
attributeName, element
-
-
Constructor Summary
Constructors Constructor Description WeightProviderDescriptorRCPImpl(org.eclipse.core.runtime.IConfigurationElement element, int ranking, Pattern nsURI)Creates a descriptor corresponding to the information of the given element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstanceClassName()PatterngetNsURI()Returns the pattern of namespace URI on which this weight provider can be applied.intgetRanking()Returns the ranking of this weight provider.WeightProvidergetWeightProvider()Returns the wrapped weight provider.-
Methods inherited from class org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor
createInstance
-
-
-
-
Constructor Detail
-
WeightProviderDescriptorRCPImpl
public WeightProviderDescriptorRCPImpl(org.eclipse.core.runtime.IConfigurationElement element, int ranking, Pattern nsURI)Creates a descriptor corresponding to the information of the given element.- Parameters:
element- Configuration element from which to create this descriptor.ranking- the ranking of the weight provider.nsURI- The pattern of namespace URI on which this post processor can be applied.
-
-
Method Detail
-
getNsURI
public Pattern getNsURI()
Returns the pattern of namespace URI on which this weight provider can be applied.- Specified by:
getNsURIin interfaceWeightProvider.Descriptor- Returns:
- The namespace URI pattern.
-
getRanking
public int getRanking()
Returns the ranking of this weight provider.- Specified by:
getRankingin interfaceWeightProvider.Descriptor- Returns:
- The ranking.
-
getWeightProvider
public WeightProvider getWeightProvider()
Returns the wrapped weight provider.- Specified by:
getWeightProviderin interfaceWeightProvider.Descriptor- Returns:
- the wrapped weight provider
-
getInstanceClassName
public String getInstanceClassName()
-
-