lblUnit.setEnabled(false);
    public void widgetSelected(SelectionEvent e)    {        Object oSource = e.getSource();        if (oSource.equals(cmbType))        {            if (cmbType.getText().equals("Date/Time"))            {                cmbUnit.setEnabled(true);            }            else            {                cmbUnit.setEnabled(false);            }            getGrouping().setGroupType(cmbType.getText());        }        else if (oSource.equals(cmbUnit))        {            getGrouping().setGroupingUnit(cmbUnit.getText());        }        else if (oSource.equals(cmbAggregate))        {            getGrouping().setAggregateExpression(cmbAggregate.getText());        }        else if (oSource.equals(btnEnabled))        {            getGrouping().setEnabled(btnEnabled.getSelection());        }    }