T
- an item typepublic class LazyItemDescriptor<T> extends AbstractItemDescriptor<T>
EMPTY_STRING
Constructor and Description |
---|
LazyItemDescriptor(String label,
String description,
int rank,
IConfigurationElement config,
String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IConfigurationElement |
getConfig()
IConfigurationElement used to instantiate the item. |
T |
getItem()
Create an item.
|
compareTo, getDescription, getID, getItemFunction, getLabel, getRank, toString
public LazyItemDescriptor(String label, String description, int rank, IConfigurationElement config, String id)
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()
config
- IConfigurationElement
used to instantiate the item.id
- org.eclipse.emf.compare.rcp.internal.extension.IItemDescriptor#getID()
public IConfigurationElement getConfig()
IConfigurationElement
used to instantiate the item.public T getItem()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.