public class DomainSubstitutionLabelProvider
extends java.lang.Object
implements org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
Modifier and Type | Field and Description |
---|---|
static DomainSubstitutionLabelProvider |
INSTANCE |
Constructor and Description |
---|
DomainSubstitutionLabelProvider() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.Object,java.lang.Object> |
createDefaultContext(org.eclipse.emf.ecore.EValidator eValidator)
Return a context map for use by EValidator.validate in which the EVlaidator.class key
is mapped to the eValidator, and the EValidator.SubstitutionLabelProvider.class key
is mapped to a DomainSubstitutionLabelProvider.
|
java.lang.String |
getFeatureLabel(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) |
java.lang.String |
getObjectLabel(org.eclipse.emf.ecore.EObject eObject) |
java.lang.String |
getValueLabel(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object value) |
public static DomainSubstitutionLabelProvider INSTANCE
public static java.util.Map<java.lang.Object,java.lang.Object> createDefaultContext(org.eclipse.emf.ecore.EValidator eValidator)
public java.lang.String getObjectLabel(org.eclipse.emf.ecore.EObject eObject)
getObjectLabel
in interface org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
public java.lang.String getFeatureLabel(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
getFeatureLabel
in interface org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
public java.lang.String getValueLabel(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object value)
getValueLabel
in interface org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider