Class FormItemParamTypesBaseEventsCollector
java.lang.Object
com._1c.g5.v8.dt.internal.form.item.command.FormItemParamTypesBaseEventsCollector
- All Implemented Interfaces:
IFormItemCommand,com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject>,Predicate<org.eclipse.emf.ecore.EObject>
public class FormItemParamTypesBaseEventsCollector
extends Object
implements IFormItemCommand, com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject>
Special
You should set IRuntimeVersionSupport for this class before call method "execute" Instances of
IFormItemCommand for collecting base Event corresponding to initialize Method in form You should set IRuntimeVersionSupport for this class before call method "execute" Instances of
FormItemParamTypesBaseEventsCollector are stateful and are
not safe for use by multiple threads.-
Constructor Summary
ConstructorsConstructorDescriptionFormItemParamTypesBaseEventsCollector(FormItemInformationService formItemInformation, FormItemPropertyContextDefInferrer formItemPropertyContextDefInferrer, IDataSourceInfoAssociationService associationService, boolean stopAfterFirst) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(org.eclipse.emf.ecore.EObject input) voidexecute(FormVisualEntity item) Execute action onFormItemGets all found bound eventsGets all found bound eventsvoidsetRuntimeVersionSupport(IRuntimeVersionSupport versionSupport) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Predicate
equals, test
-
Constructor Details
-
FormItemParamTypesBaseEventsCollector
public FormItemParamTypesBaseEventsCollector(FormItemInformationService formItemInformation, FormItemPropertyContextDefInferrer formItemPropertyContextDefInferrer, IDataSourceInfoAssociationService associationService, boolean stopAfterFirst) Constructor- Parameters:
method- method of Bsl moduleformItemInformation-FormItemInformationServicefor getting information about all events ofFormItemformItemPropertyContextDefInferrer- actualFormItemInformationService, can't benullassociationService- actualIDataSourceInfoAssociationService, can't benullstopAfterFirst- flag of stopping collect bound events after for the first was found
-
-
Method Details
-
execute
Description copied from interface:IFormItemCommandExecute action onFormItem- Specified by:
executein interfaceIFormItemCommand- Parameters:
item- item of the form
-
apply
public boolean apply(org.eclipse.emf.ecore.EObject input) - Specified by:
applyin interfacecom.google.common.base.Predicate<org.eclipse.emf.ecore.EObject>
-
setRuntimeVersionSupport
- Parameters:
versionSupport- actual implementation ofIRuntimeVersionSupport, can't benull
-
getAllBoundBaseEventsParamTypes
Gets all found bound events- Returns:
- correspondence between name of event handler and collection of appropriate its lists of parameters type, never
null
-
getAllEventHandlers
Gets all found bound events- Returns:
- correspondence between name of event handler and collection of
Event, nevernull
-