else
else if ( cmbAggregate.getItemCount( ) > 0 )
	private void populateLists( )	{		SeriesGrouping grouping = getGrouping( );		boolean bEnableUI = btnEnabled.getSelection( );		// Populate the data type combo		NameSet ns = LiteralHelper.dataTypeSet;		cmbType.setItems( ns.getDisplayNames( ) );		if ( bEnableUI && grouping.getGroupType( ) != null )		{			cmbType.setText( ns.getDisplayNameByName( getGrouping( ).getGroupType( )					.getName( ) ) );		}		else		{			cmbType.select( 0 );		}		this.lblType.setEnabled( bEnableUI );		this.cmbType.setEnabled( bEnableUI );		this.lblInterval.setEnabled( bEnableUI );		this.iscInterval.setEnabled( bEnableUI );		// Populate grouping unit combo (applicable only if type is DateTime		ns = LiteralHelper.groupingUnitTypeSet;		cmbUnit.setItems( ns.getDisplayNames( ) );		if ( bEnableUI				&& grouping.getGroupType( ) != null				&& grouping.getGroupType( ) == DataType.DATE_TIME_LITERAL				&& grouping.getGroupingUnit( ) != null )		{			cmbUnit.setText( ns.getDisplayNameByName( grouping.getGroupingUnit( )					.getName( ) ) );		}		else		{			cmbUnit.select( 0 );		}		lblUnit.setEnabled( bEnableUI				&& DataType.DATE_TIME_LITERAL.getName( )						.equals( LiteralHelper.dataTypeSet.getNameByDisplayName( cmbType.getText( ) ) ) );		cmbUnit.setEnabled( lblUnit.getEnabled( ) );		// Populate grouping aggregate expression combo		try		{			cmbAggregate.setItems( PluginSettings.instance( )					.getRegisteredAggregateFunctionDisplayNames( ) );			cmbAggregate.setData( PluginSettings.instance( )					.getRegisteredAggregateFunctions( ) );		}		catch ( ChartException e )		{			e.printStackTrace( );		}		if ( bEnableUI && grouping.getAggregateExpression( ) != null )		{			cmbAggregate.setText( getAggregateDisplayNameByName( grouping.getAggregateExpression( ) ) );		}		else		{			cmbAggregate.select( 0 );		}		lblAggregate.setEnabled( bEnableUI );		cmbAggregate.setEnabled( bEnableUI );	}