T - On factorypublic class WrapperItemDescriptor<T> extends AbstractItemDescriptor<T>
IItemDescriptor that wrap one instance of an item
and return the same item each time.EMPTY_STRING| Constructor and Description |
|---|
WrapperItemDescriptor(String label,
String description,
int rank,
String id,
T instance)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getItem()
Create an item.
|
compareTo, getDescription, getID, getItemFunction, getLabel, getRank, toStringpublic WrapperItemDescriptor(String label, String description, int rank, String id, T instance)
label - org.eclipse.emf.compare.rcp.internal.extension.IItemDescriptor#getLabel() description - org.eclipse.emf.compare.rcp.internal.extension.IItemDescriptor#getDescription() rank - org.eclipse.emf.compare.rcp.internal.extension.IItemDescriptor#getRank() id - org.eclipse.emf.compare.rcp.internal.extension.IItemDescriptor#getID() instance - Instance of the factorypublic T getItem()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.