public interface EMFFormsLabelProvider
EMFFormsLabelProvider
offers methods to get the display name and the description
for a model object referenced by a VDomainModelReference
as an IObservableValue. The reference can optionally
be complemented by an EObject
which is the root object of the VDomainModelReference
. This enables to
get the texts for a
concrete instance.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 . |
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 . |
org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName(VDomainModelReference domainModelReference) throws NoLabelFoundException
domainModelReference
- The VDomainModelReference
referencing the domain objectIObservableValue
NoLabelFoundException
- if the display name cannot be retrievedorg.eclipse.core.databinding.observable.value.IObservableValue getDisplayName(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject) throws NoLabelFoundException
EObject
.domainModelReference
- The VDomainModelReference
referencing the domain objectrootObject
- The root EObject
which is used to resolve the given VDomainModelReference
IObservableValue
NoLabelFoundException
- if the display name cannot be retrievedorg.eclipse.core.databinding.observable.value.IObservableValue getDescription(VDomainModelReference domainModelReference) throws NoLabelFoundException
domainModelReference
- The VDomainModelReference
referencing the model objectIObservableValue
NoLabelFoundException
- if the description cannot be retrievedorg.eclipse.core.databinding.observable.value.IObservableValue getDescription(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject) throws NoLabelFoundException
EObject
.domainModelReference
- The VDomainModelReference
referencing the model objectrootObject
- The root EObject
which is used to resolve the given VDomainModelReference
IObservableValue
NoLabelFoundException
- if the description cannot be retrievedCopyright © 2018. All rights reserved.