@Deprecated public final class ECPStaticApplicableTester extends Object implements ECPApplicableTester
ECPApplicableTester
for a static test, like defined in the staticTest element.NOT_APPLICABLE
Constructor and Description |
---|
ECPStaticApplicableTester(boolean singleValue,
int priority,
Class<?> supportedClassType,
Class<? extends org.eclipse.emf.ecore.EObject> supportedEObject,
String supportedFeature)
Deprecated.
The constructor of the static tester.
|
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Deprecated.
The static priority of the corresponding control.
|
Class<?> |
getSupportedClassType()
Deprecated.
The class of the type the corresponding control supports.
|
Class<? extends org.eclipse.emf.ecore.EObject> |
getSupportedEObject()
Deprecated.
The eobejct which is supported by the corresponding control.
|
String |
getSupportedFeature()
Deprecated.
The name of the feature the corresponding control supports.
|
int |
isApplicable(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature feature)
Deprecated.
|
int |
isApplicable(org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor,
org.eclipse.emf.ecore.EObject eObject)
Deprecated.
|
int |
isApplicable(VDomainModelReference domainModelReference)
Deprecated.
|
boolean |
isSingleValue()
Deprecated.
Whether the corresponding control is allowed only for single values.
|
public ECPStaticApplicableTester(boolean singleValue, int priority, Class<?> supportedClassType, Class<? extends org.eclipse.emf.ecore.EObject> supportedEObject, String supportedFeature)
singleValue
- whether the corresponding control supports only single valued featurespriority
- the static prioritysupportedClassType
- the class of the supported typesupportedEObject
- the eobject this tester allowssupportedFeature
- the feature this tester allows@Deprecated public int isApplicable(org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor, org.eclipse.emf.ecore.EObject eObject)
EObject
and the
IItemPropertyDescriptor
.isApplicable
in interface ECPApplicableTester
itemPropertyDescriptor
- the IItemPropertyDescriptor
to testeObject
- the EObject
to testECPApplicableTester.NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.@Deprecated public int isApplicable(VDomainModelReference domainModelReference)
VDomainModelReference
.isApplicable
in interface ECPApplicableTester
domainModelReference
- the VDomainModelReference
to testECPApplicableTester.NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.ECPApplicableTester.isApplicable(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)
@Deprecated public int isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature)
EObject
and the
EStructuralFeature
.isApplicable
in interface ECPApplicableTester
eObject
- the EObject
to testfeature
- the EStructuralFeature
to testECPApplicableTester.NOT_APPLICABLE
if the corresponding control should not be used, a positivie integer value
otherwise. The control with the highest priority will be taken.ECPApplicableTester.isApplicable(org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EStructuralFeature)
public boolean isSingleValue()
public int getPriority()
public Class<? extends org.eclipse.emf.ecore.EObject> getSupportedEObject()
public String getSupportedFeature()
public Class<?> getSupportedClassType()
Copyright © 2018. All rights reserved.