Event & ActionContext

1.ActionContext

    In the dynamic model, the ActionContext is used to manage variables. When the SWT model is executed, the created SWT object will be saved in the ActionContext, and these variables can be accessed in the event listener.

2.Video

    The following video shows how to add an event listener for a control and access SWT variables in the listener. In this case, the event listener is usually an action. Please refer to the action related documentation of xworker.

 

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号