Interface IMdObjectAvailabilityDelegate

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isAvailable​(org.eclipse.emf.ecore.EClass eClass, IV8Project v8project)
      Returns whether the provided metadata class is currently available in the provided V8 project.
      boolean isAvailable​(org.eclipse.emf.ecore.EObject eObject, IV8Project v8project)
      Returns whether the provided metadata class is currently available in the provided V8 project.
      boolean isAvailable​(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project)
      Returns whether the feature of the provided metadata class is currently available in the provided V8 project.
    • Method Detail

      • isAvailable

        boolean isAvailable​(org.eclipse.emf.ecore.EClass eClass,
                            IV8Project v8project)
        Returns whether the provided metadata class is currently available in the provided V8 project.
        Parameters:
        eClass - the metadata class to check availability, cannot be null
        v8project - the V8 project to check in, cannot be null
        Returns:
        whether the provided metadata class is currently available in the provided V8 project
      • isAvailable

        boolean isAvailable​(org.eclipse.emf.ecore.EObject eObject,
                            IV8Project v8project)
        Returns whether the provided metadata class is currently available in the provided V8 project.
        Parameters:
        eObject - the metadata object to check availability, cannot be null
        v8project - the V8 project to check in, cannot be null
        Returns:
        whether the provided metadata class is currently available in the provided V8 project
      • isAvailable

        boolean isAvailable​(org.eclipse.emf.ecore.EObject eObject,
                            org.eclipse.emf.ecore.EStructuralFeature feature,
                            IV8Project v8project)
        Returns whether the feature of the provided metadata class is currently available in the provided V8 project. Feature may be not available even if object itself is available.
        Parameters:
        eObject - the metadata object to check feature availability in, cannot be null
        feature - the context feature to check availability, cannot be null
        v8project - the V8 project to check in, cannot be null
        Returns:
        whether the provided metadata class is currently available in the provided V8 project