Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.systemwideinterfaces.core.UserActionListener< T extends UserAction<?> > Class Reference

Inherits ActionListener< T >.

List of all members.

Public Member Functions

 UserActionListener (Class< T > targetClass)
abstract boolean check (T action)

Detailed Description

Abstract ActionListener
T is the type of UserAction this listener listens to. If the ckeck method returns true, the actions defined in before, concurrent and after will be executed

Usage:

  • extend this class (define T!)
  • implement check method
  • add actions which should be executed if this.check(T action) return true

    You can use the provided methods (of the super class ActionListener):
    + addBeforeEvent(CoreAction<?> a)
    + addConcurrentEvent(CoreAction<?> a)
    + addAfterEvent(CoreAction<?> a)

    BeforeEvents will be executed before the target action, this events should be executed succesfully before the target action can be executed
    ConcurrentEvents will be executed in parallel with the target action. No relation exist between succesfull execution of this events and the execution of the target action or the AfterEvents
    AfterEvents will be executed after a succesfull execution of the target action.

Constructor & Destructor Documentation

com.mendix.systemwideinterfaces.core.UserActionListener< T extends UserAction<?> >.UserActionListener ( Class< T >  targetClass)

Member Function Documentation

abstract boolean com.mendix.systemwideinterfaces.core.UserActionListener< T extends UserAction<?> >.check ( action) [pure virtual]

The documentation for this class was generated from the following file: