@Deprecated public interface ECPApplicableTester
isApplicable(IItemPropertyDescriptor, EObject)
method which is used to determine
the priority of a control. The control with the highest priority for a combination of an EObject
and a
feature will be used.Modifier and Type | Field and Description |
---|---|
static int |
NOT_APPLICABLE
Deprecated.
Return this whenever the control should not be drawn for the tested feature.
|
Modifier and Type | Method and 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 the
EObject and the
EStructuralFeature . |
int |
isApplicable(org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor,
org.eclipse.emf.ecore.EObject eObject)
Deprecated.
|
int |
isApplicable(VDomainModelReference domainModelReference)
Deprecated.
Do not use. Use
isApplicable(EObject, EStructuralFeature) instead. |
static final int NOT_APPLICABLE
@Deprecated int isApplicable(org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor, org.eclipse.emf.ecore.EObject eObject)
EObject
and the
IItemPropertyDescriptor
.itemPropertyDescriptor
- the IItemPropertyDescriptor
to testeObject
- the EObject
to testNOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.@Deprecated int isApplicable(VDomainModelReference domainModelReference)
isApplicable(EObject, EStructuralFeature)
instead.VDomainModelReference
.domainModelReference
- the VDomainModelReference
to testNOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.int isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
EObject
and the
EStructuralFeature
.eStructuralFeature
- the EStructuralFeature
to testeObject
- the EObject
to testNOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.Copyright © 2017. All rights reserved.