Interface ECPApplicableTester
-
- All Known Implementing Classes:
AttributeMultiControlTester
,ECPStaticApplicableTester
,ReferenceMultiControlTester
@Deprecated public interface ECPApplicableTester
Deprecated.This interface defines aisApplicable(IItemPropertyDescriptor, EObject)
method which is used to determine the priority of a control. The control with the highest priority for a combination of anEObject
and a feature will be used.- Author:
- Eugen Neufeld
-
-
Field Summary
Fields Modifier and Type Field Description static int
NOT_APPLICABLE
Deprecated.Return this whenever the control should not be drawn for the tested feature.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Deprecated.Returns the priority of the corresponding control for the combination of theEObject
and theEStructuralFeature
.int
isApplicable(VDomainModelReference domainModelReference)
Deprecated.Do not use.int
isApplicable(org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor, org.eclipse.emf.ecore.EObject eObject)
Deprecated.
-
-
-
Field Detail
-
NOT_APPLICABLE
static final int NOT_APPLICABLE
Deprecated.Return this whenever the control should not be drawn for the tested feature.- See Also:
- Constant Field Values
-
-
Method Detail
-
isApplicable
@Deprecated int isApplicable(org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor, org.eclipse.emf.ecore.EObject eObject)
Deprecated.Returns the priority of the corresponding control for the combination of theEObject
and theIItemPropertyDescriptor
.- Parameters:
itemPropertyDescriptor
- theIItemPropertyDescriptor
to testeObject
- theEObject
to test- Returns:
NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value otherwise. The control with the highest priority will be taken.
-
isApplicable
@Deprecated int isApplicable(VDomainModelReference domainModelReference)
Deprecated.Do not use. UseisApplicable(EObject, EStructuralFeature)
instead.Returns the priority of the corresponding control for the providedVDomainModelReference
.- Parameters:
domainModelReference
- theVDomainModelReference
to test- Returns:
NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value otherwise. The control with the highest priority will be taken.- Since:
- 1.2
-
isApplicable
int isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Deprecated.Returns the priority of the corresponding control for the combination of theEObject
and theEStructuralFeature
.- Parameters:
eStructuralFeature
- theEStructuralFeature
to testeObject
- theEObject
to test- Returns:
NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value otherwise. The control with the highest priority will be taken.- Since:
- 1.2
-
-