Interface VTStyleSelector
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
VTAndSelector,VTAnnotationSelector,VTDomainModelReferenceSelector,VTHierarchySelector,VTViewModelElementSelector
- All Known Implementing Classes:
VTAndSelectorImpl,VTAnnotationSelectorImpl,VTDomainModelReferenceSelectorImpl,VTHierarchySelectorImpl,VTViewModelElementSelectorImpl
public interface VTStyleSelector extends org.eclipse.emf.ecore.EObjectA representation of the model object 'Style Selector'.- See Also:
VTTemplatePackage.getStyleSelector()
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.DoubleNOT_APPLICABLEReturn this constant if the selector is not applicable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleisApplicable(VElement vElement, ViewModelContext viewModelContext)Checks how well aVElementis fitting.
-
-
-
Method Detail
-
isApplicable
double isApplicable(VElement vElement, ViewModelContext viewModelContext)
Checks how well aVElementis fitting.- Parameters:
vElement- theVElementto checkviewModelContext- theViewModelContextcurrently used- Returns:
- a double defining the specificity of the selector. The higher the number the more specific the tester is.
-
-