Class PostProcessorDescriptor
java.lang.Object
org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor<IPostProcessor>
org.eclipse.emf.compare.rcp.internal.postprocessor.PostProcessorDescriptor
- All Implemented Interfaces:
IPostProcessor.Descriptor
public class PostProcessorDescriptor
extends PluginClassDescriptor<IPostProcessor>
implements IPostProcessor.Descriptor
Describes an extension as contributed to the "org.eclipse.emf.compare.rcp.postProcessor" extension point.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.compare.postprocessor.IPostProcessor.Descriptor
IPostProcessor.Descriptor.Registry<K>
-
Field Summary
Fields inherited from class org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor
attributeName, element
-
Constructor Summary
ConstructorDescriptionPostProcessorDescriptor
(org.eclipse.core.runtime.IConfigurationElement element, Pattern nsURI, Pattern resourceURI) Creates a descriptor corresponding to the information of the given element. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class name of the instance that will be returned byIPostProcessor.Descriptor.getPostProcessor()
.getNsURI()
Returns the pattern of namespace URI on which this post processor can be applied.int
Returns the ordinal of this post processor.Returns the wrapped post processor.Returns the pattern of resource URI on which this post processor can be applied.void
setOrdinal
(int r) Set the ordinal of this post processor.Methods inherited from class org.eclipse.emf.compare.rcp.extension.PluginClassDescriptor
createInstance
-
Constructor Details
-
PostProcessorDescriptor
public PostProcessorDescriptor(org.eclipse.core.runtime.IConfigurationElement element, Pattern nsURI, Pattern resourceURI) Creates a descriptor corresponding to the information of the given element.- Parameters:
element
- Configuration element from which to create this descriptor.nsURI
- The pattern of namespace URI on which this post processor can be applied.resourceURI
- The pattern of resource URI on which this post processor can be applied.
-
-
Method Details
-
getNsURI
Returns the pattern of namespace URI on which this post processor can be applied.- Specified by:
getNsURI
in interfaceIPostProcessor.Descriptor
- Returns:
- The namespace URI pattern.
- See Also:
-
org.eclipse.emf.compare.postprocessor.IPostProcessor#getNsURI()
-
getResourceURI
Returns the pattern of resource URI on which this post processor can be applied.- Specified by:
getResourceURI
in interfaceIPostProcessor.Descriptor
- Returns:
- The resource URI.
- See Also:
-
org.eclipse.emf.compare.postprocessor.IPostProcessor#getResourceURI()
-
getPostProcessor
Returns the wrapped post processor.- Specified by:
getPostProcessor
in interfaceIPostProcessor.Descriptor
- Returns:
- the wrapped post processor
- See Also:
-
getInstanceClassName
Returns the class name of the instance that will be returned byIPostProcessor.Descriptor.getPostProcessor()
.- Specified by:
getInstanceClassName
in interfaceIPostProcessor.Descriptor
- Returns:
- the class name of the instance that will be returned by
IPostProcessor.Descriptor.getPostProcessor()
. - See Also:
-
getOrdinal
public int getOrdinal()Returns the ordinal of this post processor.- Specified by:
getOrdinal
in interfaceIPostProcessor.Descriptor
- Returns:
- The ordinal.
- See Also:
-
setOrdinal
public void setOrdinal(int r) Set the ordinal of this post processor.- Specified by:
setOrdinal
in interfaceIPostProcessor.Descriptor
- Parameters:
r
- The ordinal.- See Also:
-