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)
Deprecated.
This does not work with
domain model references using
segments . |
org.eclipse.core.databinding.observable.value.IObservableValue |
getDescription(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EClass rootEClass)
Returns the description of the referenced domain object resolved for the given root
EClass . |
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)
Deprecated.
This does not work with
domain model references using
segments . |
org.eclipse.core.databinding.observable.value.IObservableValue |
getDisplayName(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EClass rootEClass)
Returns the display name of the referenced domain object resolved for the given root
EClass . |
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 . |
@Deprecated org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName(VDomainModelReference domainModelReference) throws NoLabelFoundException
domain model references
using
segments
.Returns the display name of the referenced domain object.
Important: Does not work with DMRs which use segments
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.EClass rootEClass) throws NoLabelFoundException
EClass
.domainModelReference
- The VDomainModelReference
referencing the domain objectrootEClass
- The root EClass
which is used to resolve the given VDomainModelReference
IObservableValue
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 retrieved@Deprecated org.eclipse.core.databinding.observable.value.IObservableValue getDescription(VDomainModelReference domainModelReference) throws NoLabelFoundException
domain model references
using
segments
.Returns the description of the referenced domain object.
Important: Does not work with DMRs which use segments
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.EClass rootEClass) throws NoLabelFoundException
EClass
.domainModelReference
- The VDomainModelReference
referencing the model objectrootEClass
- The root EClass
which is used to resolve the given VDomainModelReference
IObservableValue
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 © 2019. All rights reserved.