public class DifferenceGroupDescriptorWrapper extends AbstractItemDescriptor<IDifferenceGroupProvider.Descriptor> implements IDifferenceGroupProvider.Descriptor
IDifferenceGroupProvider.Descriptor
.IDifferenceGroupProvider.Descriptor.Registry
EMPTY_STRING
Constructor and Description |
---|
DifferenceGroupDescriptorWrapper(String label,
String description,
IConfigurationElement elem,
int rank,
IDifferenceGroupProvider.ComparisonType comparisonType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IDifferenceGroupProvider |
createGroupProvider()
Creates a group provider.
|
IDifferenceGroupProvider.Descriptor |
getItem()
Get an instance of an item.
|
IDifferenceGroupProvider.ComparisonType |
getType()
Return the type of Comparison this group provider can handle.
|
compareTo, getDescription, getID, getItemFunction, getLabel, getRank, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLabel, getRank
public DifferenceGroupDescriptorWrapper(String label, String description, IConfigurationElement elem, int rank, IDifferenceGroupProvider.ComparisonType comparisonType)
label
- Human-readable label of the underlying group provider.description
- A more detailed description that can be displayed to the user for this group.elem
- IConfigurationElement
used to instantiate the IDifferenceGroupProvider
rank
- Rank of the descriptorcomparisonType
- Type of comparison the wrapped IDifferenceGroupProvider
can handle.public IDifferenceGroupProvider.Descriptor getItem()
getItem
in interface IItemDescriptor<IDifferenceGroupProvider.Descriptor>
public IDifferenceGroupProvider.ComparisonType getType()
getType
in interface IDifferenceGroupProvider.Descriptor
IDifferenceGroupProvider.ComparisonType
public IDifferenceGroupProvider createGroupProvider()
createGroupProvider
in interface IDifferenceGroupProvider.Descriptor
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.