|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ECPApplicableTester
This interface defines a 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.
Field Summary | |
---|---|
static int |
NOT_APPLICABLE
Deprecated. Return this whenever the control should not be drawn for the tested feature. |
Method Summary | |
---|---|
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. Returns the priority of the corresponding control for the provided VDomainModelReference . |
Field Detail |
---|
static final int NOT_APPLICABLE
Method Detail |
---|
@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 test
NOT_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(VDomainModelReference domainModelReference)
VDomainModelReference
.
domainModelReference
- the VDomainModelReference
to test
NOT_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 test
NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |