Interface IViewProvider

    • Field Detail

      • NOT_APPLICABLE

        static final double NOT_APPLICABLE
        Constant indicating, that the provider cannot provide a VView for a specific EObject.
        See Also:
        Constant Field Values
    • Method Detail

      • canProvideViewModel

        double canProvideViewModel​(org.eclipse.emf.ecore.EObject eObject,
                                   VViewModelProperties properties)
        Called to check whether the provider can provide a VView for an EObject.
        Parameters:
        eObject - the EObject to create a
        properties - the properties for providing the view
        Returns:
        a positive double indicating how well this provider is fitted to provide a VView for the provided EObject or NOT_APPLICABLE if it doesn't fit
        Since:
        1.7