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
ConstructorDescriptionWeightProviderDescriptorRCPImpl
(org.eclipse.core.runtime.IConfigurationElement element, int ranking, Pattern nsURI) Creates a descriptor corresponding to the information of the given element. -
Method Summary
Modifier and TypeMethodDescriptiongetNsURI()
Returns the pattern of namespace URI on which this weight provider can be applied.int
Returns the ranking of this weight provider.Returns the wrapped weight provider.Methods inherited from class org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor
createInstance
-
Constructor Details
-
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 Details
-
getNsURI
Returns the pattern of namespace URI on which this weight provider can be applied.- Specified by:
getNsURI
in interfaceWeightProvider.Descriptor
- Returns:
- The namespace URI pattern.
-
getRanking
public int getRanking()Returns the ranking of this weight provider.- Specified by:
getRanking
in interfaceWeightProvider.Descriptor
- Returns:
- The ranking.
-
getWeightProvider
Returns the wrapped weight provider.- Specified by:
getWeightProvider
in interfaceWeightProvider.Descriptor
- Returns:
- the wrapped weight provider
-
getInstanceClassName
-