Interface EMFFormsLabelProvider

    • Method Detail

      • getDisplayName

        @Deprecated
        org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName​(VDomainModelReference domainModelReference)
                                                                               throws NoLabelFoundException
        Deprecated.
        This does not work with domain model references using segments.

        Returns the display name of the referenced domain object.

        Important: Does not work with DMRs which use segments

        Parameters:
        domainModelReference - The VDomainModelReference referencing the domain object
        Returns:
        The display name as an IObservableValue
        Throws:
        NoLabelFoundException - if the display name cannot be retrieved
      • getDisplayName

        org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName​(VDomainModelReference domainModelReference,
                                                                                      org.eclipse.emf.ecore.EClass rootEClass)
                                                                               throws NoLabelFoundException
        Returns the display name of the referenced domain object resolved for the given root EClass.
        Parameters:
        domainModelReference - The VDomainModelReference referencing the domain object
        rootEClass - The root EClass which is used to resolve the given VDomainModelReference
        Returns:
        The display name as an IObservableValue
        Throws:
        NoLabelFoundException - if the display name cannot be retrieved
        Since:
        1.19
      • getDisplayName

        org.eclipse.core.databinding.observable.value.IObservableValue getDisplayName​(VDomainModelReference domainModelReference,
                                                                                      org.eclipse.emf.ecore.EObject rootObject)
                                                                               throws NoLabelFoundException
        Returns the display name of the referenced domain object resolved for the given root EObject.
        Parameters:
        domainModelReference - The VDomainModelReference referencing the domain object
        rootObject - The root EObject which is used to resolve the given VDomainModelReference
        Returns:
        The display name as an IObservableValue
        Throws:
        NoLabelFoundException - if the display name cannot be retrieved
      • getDescription

        @Deprecated
        org.eclipse.core.databinding.observable.value.IObservableValue getDescription​(VDomainModelReference domainModelReference)
                                                                               throws NoLabelFoundException
        Deprecated.
        This does not work with domain model references using segments.

        Returns the description of the referenced domain object.

        Important: Does not work with DMRs which use segments

        Parameters:
        domainModelReference - The VDomainModelReference referencing the model object
        Returns:
        The description as an IObservableValue
        Throws:
        NoLabelFoundException - if the description cannot be retrieved
      • getDescription

        org.eclipse.core.databinding.observable.value.IObservableValue getDescription​(VDomainModelReference domainModelReference,
                                                                                      org.eclipse.emf.ecore.EClass rootEClass)
                                                                               throws NoLabelFoundException
        Returns the description of the referenced domain object resolved for the given root EClass.
        Parameters:
        domainModelReference - The VDomainModelReference referencing the model object
        rootEClass - The root EClass which is used to resolve the given VDomainModelReference
        Returns:
        The description as an IObservableValue
        Throws:
        NoLabelFoundException - if the description cannot be retrieved
        Since:
        1.19
      • getDescription

        org.eclipse.core.databinding.observable.value.IObservableValue getDescription​(VDomainModelReference domainModelReference,
                                                                                      org.eclipse.emf.ecore.EObject rootObject)
                                                                               throws NoLabelFoundException
        Returns the description of the referenced domain object resolved for the given root EObject.
        Parameters:
        domainModelReference - The VDomainModelReference referencing the model object
        rootObject - The root EObject which is used to resolve the given VDomainModelReference
        Returns:
        The description as an IObservableValue
        Throws:
        NoLabelFoundException - if the description cannot be retrieved