}
if (CustomEvent.isCustomEvent(e.getType())) {
// Render key-value pairs for the custom event.
// Simply iterate over the custom data on the CustomEvent.
CustomEvent customEvent = e.cast();
DataBag customData = customEvent.getCustomData();
customData.iterate(new IterationCallback() {
public void onIteration(String key, String value) {
details.put(key, new StringCellRenderer(value));
}
});