{
super.stepActivating();
this.setFinishable(true); // there is nothing we can do in this step to keep
this.setPreviewable(true); // from previewing or finishing.
final XulListbox groupList = (XulListbox) getDocument().getElementById(FORMAT_GROUPS_LIST_ID);
final XulListbox detailList = (XulListbox) getDocument().getElementById(FORMAT_DETAILS_LIST_ID);
try
{
groupBinding.fireSourceChanged();
detailBinding.fireSourceChanged();
detailExpressionsBinding.fireSourceChanged();
// groupExpressionsBinding.fireSourceChanged();
if (groupList.getRowCount() > 0) {
groupList.setSelectedIndex(0);
} else {
detailList.setSelectedIndex(0);
}
}
catch (Exception e)
{
getDesignTimeContext().error(e);