Linking object operations to a view

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:
  1. Set the "type" property of the object to "execute_operation".
  2. 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.)
  3. 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.