list - the CalculatedItemListInterface adapter object
calculatedItem - the new or existing item
isRelational - true if called in a relational contact; false in an OLAP context
dataItems - the list of data items. There are two string for each item - a value used in the list and a value used in the expression.
edit - true - existing item is being edited; false - new item is being created
Method Detail
onApply
public void onApply()
This method validates the input and is to be called when the OK button is pressed.
If there are errors, an error dialog with the reason is displayed
and the Calculated Item dialog is not dismissed.
This method is to be called when the Cancel button is pressed.
It is needed because of issues in the adapter and it restores
the original values of the Calculated item in the "edit" case.