To support the special keys OK, Tab, and Help, implement a processComponentKeyEvent()
method, as follows: if (Settings.isSpecialKey(e)){ e.consume();}
else{ super.processComponentKeyEvent();}
Consistency between values in the context and values in the view
is guaranteed. When the end user changes some data in the view, the fireDSECoordinationEvent()
method is invoked, passing the name of the particular DSECoordinationEvent.
The operation panel is a listener for all the DSECoordinationEvents from the
beans it contains, and therefore handles the DSECoordinationEvent and updates
the context with the new value if the dataChanged flag in the event is true.
This event must be created with the "type" and "navigationParameters" properties
values (see NavigationParameters object description). When the view refresh
is invoked, the operation panel invokes its refreshDataExchangers() method.
For each data exchanger on the operation panel, it obtains the corresponding
value from the context and calls the setDataValue(value) data exchanger method.
If the interface is DataExchangerWithList, it also calls the setDataValueForList(value)
method.
Your new toolkit visual bean is now ready to be dropped onto
a toolkit DSECoordinatedPanel or embedded panel.