Interface IAefMarkerSupportExtension


  • public interface IAefMarkerSupportExtension
    The extension that allows to extend the default behavior of the AefMarkerSupport.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object getQuery​(org.eclipse.core.resources.IProject project, Marker marker, org.eclipse.emf.ecore.EObject validated)
      Returns the component query for the specified marker.
      boolean isValidationRequired​(org.eclipse.core.resources.IProject project, org.eclipse.emf.ecore.EObject validable, Collection<Object> markerObjectIds)
      Returns the flag indicating whether the validation required or not.
    • Method Detail

      • isValidationRequired

        boolean isValidationRequired​(org.eclipse.core.resources.IProject project,
                                     org.eclipse.emf.ecore.EObject validable,
                                     Collection<Object> markerObjectIds)
        Returns the flag indicating whether the validation required or not.
        Parameters:
        project - the project, cannot be null.
        validable - the validable object, cannot be null.
        markerObjectIds - the marker object identifiers that is changed, cannot be null.
        Returns:
        true if validation is required for the specified arguments, or false-otherwise.
      • getQuery

        Object getQuery​(org.eclipse.core.resources.IProject project,
                        Marker marker,
                        org.eclipse.emf.ecore.EObject validated)
        Returns the component query for the specified marker.
        Parameters:
        project - the project, cannot be null.
        marker - the marker, cannot be null.
        validated - the validated object, cannot be null.
        Returns:
        the query or null if the extension cannot provide the query to component for the specified arguments.