All DataExchangers, SpButton, and SpMenuItem classes have a "type"
property and a "navigationParameters" property, which are managed by get and
set methods. These properties allow a user to execute an operation when these
classes change their state. To execute an operation from an object of one
of these classes, complete the following steps:
- Set the "type" property of the object to "execute_operation".
- Set the "navigationParameters" property if the operation is to
be chained to the context (or operation context). This operation
must be externalized, and it must inherit from com.ibm.dse.base.DSEClientOperation.
(See NavigationParameters object description.)
- When DataExchanger changes its state, it will fire an event to
its DSEPanel (or OperationPanel), and with this information this panel can
instantiate a new operation. It will wait for OperationRepliedEvent, and then it will refresh values in the view.