public class EMFFormsSpreadsheetValueConverterRegistryImpl extends Object implements EMFFormsSpreadsheetValueConverterRegistry
EMFFormsSpreadsheetValueConverterRegistry
.Constructor and Description |
---|
EMFFormsSpreadsheetValueConverterRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addConverter(EMFFormsSpreadsheetValueConverter converter)
Adds a
converter to the registry. |
EMFFormsSpreadsheetValueConverter |
getConverter(org.eclipse.emf.ecore.EObject domainObject,
VDomainModelReference dmr)
Returns a suitable
converter for the given arguments. |
void |
removeConverter(EMFFormsSpreadsheetValueConverter converter)
Removes a
converter from the registry. |
public EMFFormsSpreadsheetValueConverterRegistryImpl()
public void addConverter(EMFFormsSpreadsheetValueConverter converter)
converter
to the registry.converter
- the converterpublic void removeConverter(EMFFormsSpreadsheetValueConverter converter)
converter
from the registry.converter
- the converterpublic EMFFormsSpreadsheetValueConverter getConverter(org.eclipse.emf.ecore.EObject domainObject, VDomainModelReference dmr) throws EMFFormsConverterException
converter
for the given arguments.getConverter
in interface EMFFormsSpreadsheetValueConverterRegistry
domainObject
- the domain objectdmr
- the domain model referenceEMFFormsConverterException
- in case no suitable converter is registeredEMFFormsSpreadsheetValueConverterRegistry.getConverter(org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)
Copyright © 2019. All rights reserved.