org.eclipse.emf.ecp.view.internal.validation
Class ECPSubstitutionLabelProvider
java.lang.Object
org.eclipse.emf.ecp.view.internal.validation.ECPSubstitutionLabelProvider
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
public final class ECPSubstitutionLabelProvider
- extends Object
- implements org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
An ECP ECPSubstitutionLabelProvider used in the validation context.
- Author:
- Eugen Neufeld
ECPSubstitutionLabelProvider
public ECPSubstitutionLabelProvider(org.eclipse.emf.common.notify.AdapterFactory factory)
- Creates an
ECPSubstitutionLabelProvider
.
- Parameters:
factory
- the AdapterFactory
to use
getObjectLabel
public String getObjectLabel(org.eclipse.emf.ecore.EObject eObject)
-
- Specified by:
getObjectLabel
in interface org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
- See Also:
EValidator.SubstitutionLabelProvider.getObjectLabel(org.eclipse.emf.ecore.EObject)
getFeatureLabel
public String getFeatureLabel(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
-
- Specified by:
getFeatureLabel
in interface org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
- See Also:
EValidator.SubstitutionLabelProvider.getFeatureLabel(org.eclipse.emf.ecore.EStructuralFeature)
getValueLabel
public String getValueLabel(org.eclipse.emf.ecore.EDataType eDataType,
Object value)
-
- Specified by:
getValueLabel
in interface org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider
- See Also:
EValidator.SubstitutionLabelProvider.getValueLabel(org.eclipse.emf.ecore.EDataType,
java.lang.Object)
Copyright © 2015. All Rights Reserved.