Interface ECPApplicableTester

    • 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 the EObject and the EStructuralFeature.
      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 the EObject and the IItemPropertyDescriptor.
        Parameters:
        itemPropertyDescriptor - the IItemPropertyDescriptor to test
        eObject - the EObject 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

        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.
        Parameters:
        eStructuralFeature - the EStructuralFeature to test
        eObject - the EObject 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