Interface VTStyleSelector

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Double NOT_APPLICABLE
      Return this constant if the selector is not applicable.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double isApplicable​(VElement vElement, ViewModelContext viewModelContext)
      Checks how well a VElement is fitting.
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Field Detail

      • NOT_APPLICABLE

        static final java.lang.Double NOT_APPLICABLE
        Return this constant if the selector is not applicable.
    • Method Detail

      • isApplicable

        double isApplicable​(VElement vElement,
                            ViewModelContext viewModelContext)
        Checks how well a VElement is fitting.
        Parameters:
        vElement - the VElement to check
        viewModelContext - the ViewModelContext currently used
        Returns:
        a double defining the specificity of the selector. The higher the number the more specific the tester is.