Package com._1c.g5.v8.dt.bsl.extension
Class BslFormEventHandlerService
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.extension.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 Summary
Constructors Constructor Description BslFormEventHandlerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)org.eclipse.emf.ecore.EObject
getEventHandler(org.eclipse.emf.ecore.EObject eventHandlerContainer, String methodName)
Gets event handler from event handler container by method nameList<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)
-
-
-
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 benull
methodName
- name of the method from Bsl module to get correspondence event handler, can't benull
- 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 benull
module
- actual Bsl module corresponding to the extension form (adoptable form), can't benull
- 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 benull
eventHandler
- event handler from adoptable form (extension form), can't benull
- Returns:
- event handler in extension form (adoptable form) by event handler from adoptable form (extension form), can be
null
event handler wasn't found
-
-