public class EMFFormsLabelProviderDefaultImpl extends Object implements EMFFormsLabelProvider
EMFFormsLabelProvider
. It provides a label service that delivers the display name and
description for a domain model reference and optionally an EObject.Constructor and Description |
---|
EMFFormsLabelProviderDefaultImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.databinding.observable.value.IObservableValue |
getDescription(VDomainModelReference domainModelReference)
Returns the description of the referenced domain object.
|
org.eclipse.core.databinding.observable.value.IObservableValue |
getDescription(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject rootObject)
Returns the description of the referenced domain object resolved for the given root
EObject . |
String |
getDisplayName(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Returns the display name of the
EStructuralFeature . |
org.eclipse.core.databinding.observable.value.IObservableValue |
getDisplayName(VDomainModelReference domainModelReference)
Returns the display name of the referenced domain object.
|
org.eclipse.core.databinding.observable.value.IObservableValue |
getDisplayName(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject rootObject)
Returns the display name of the referenced domain object resolved for the given root
EObject . |
protected void |
setEMFFormsDatabinding(EMFFormsDatabinding emfFormsDatabinding)
Sets the
EMFFormsDatabinding service. |
protected void |
setEMFSpecificService(EMFSpecificService emfSpecificService)
Sets the
EMFSpecificService . |
protected void |
setReportService(ReportService reportService)
Sets the
ReportService . |
protected void setEMFFormsDatabinding(EMFFormsDatabinding emfFormsDatabinding)
EMFFormsDatabinding
service.emfFormsDatabinding
- The databinding service.protected void setEMFSpecificService(EMFSpecificService emfSpecificService)
EMFSpecificService
.emfSpecificService
- The EMFSpecificService
protected void setReportService(ReportService reportService)
ReportService
.reportService
- The ReportService
public String getDisplayName(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
EStructuralFeature
.structuralFeature
- The EStructuralFeature
public org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName(VDomainModelReference domainModelReference)
getDisplayName
in interface EMFFormsLabelProvider
domainModelReference
- The VDomainModelReference
referencing the domain objectIObservableValue
EMFFormsLabelProvider.getDisplayName(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)
public org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject)
EObject
.getDisplayName
in interface EMFFormsLabelProvider
domainModelReference
- The VDomainModelReference
referencing the domain objectrootObject
- The root EObject
which is used to resolve the given VDomainModelReference
IObservableValue
EMFFormsLabelProvider.getDisplayName(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)
public org.eclipse.core.databinding.observable.value.IObservableValue getDescription(VDomainModelReference domainModelReference)
getDescription
in interface EMFFormsLabelProvider
domainModelReference
- The VDomainModelReference
referencing the model objectIObservableValue
EMFFormsLabelProvider.getDescription(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)
public org.eclipse.core.databinding.observable.value.IObservableValue getDescription(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject)
EObject
.getDescription
in interface EMFFormsLabelProvider
domainModelReference
- The VDomainModelReference
referencing the model objectrootObject
- The root EObject
which is used to resolve the given VDomainModelReference
IObservableValue
EMFFormsLabelProvider.getDescription(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)
Copyright © 2016. All rights reserved.