Class BslFormEventHandlerService


  • public class BslFormEventHandlerService
    extends Object
    Special service for find event handler container in extension form (adoptable form) by event handler container from adoptable form (extension form)
    • Constructor Detail

      • BslFormEventHandlerService

        public BslFormEventHandlerService()
    • Method Detail

      • getEventHandler

        public org.eclipse.emf.ecore.EObject getEventHandler​(org.eclipse.emf.ecore.EObject eventHandlerContainer,
                                                             String methodName)
        Gets event handler from event handler container by method name
        Parameters:
        eventHandlerContainer - container of the event handlers, can't be null
        methodName - name of the method from Bsl module to get correspondence event handler, can't be null
        Returns:
        event handler from event handler container by method name, can be null if event handler wasn't found
      • getCorrespondingEventContainerHandler

        public org.eclipse.emf.ecore.EObject getCorrespondingEventContainerHandler​(org.eclipse.emf.ecore.EObject eventHandlerContainer,
                                                                                   Module module)
        Gets event handler container in extension form (adoptable form) by event handler container from adoptable form (extension form)
        Parameters:
        eventHandlerContainer - event handler container from adoptable form (extension form), can't be null
        module - actual Bsl module corresponding to the extension form (adoptable form), can't be null
        Returns:
        event handler container in extension form (adoptable form) by event handler container from adoptable form (extension form), can be null event container handler wasn't found
      • getEventHandler

        public List<org.eclipse.emf.ecore.EObject> getEventHandler​(org.eclipse.emf.ecore.EObject eventHandlerContainer,
                                                                   org.eclipse.emf.ecore.EObject eventHandler)
        Gets event handler in extension form (adoptable form) by event handler from adoptable form (extension form)
        Parameters:
        eventHandlerContainer - event handler container from extension form (adoptable form), can't be null
        eventHandler - event handler from adoptable form (extension form), can't be null
        Returns:
        event handler in extension form (adoptable form) by event handler from adoptable form (extension form), can be null event handler wasn't found