ColorPalette.getInstance( ) .retrieveColor( ChartUIUtil.getColumnName( query.getDefinition( ) ) );
ColorPalette.getInstance( ).retrieveColor( query.getDefinition( ) );
	private void manageColorAndQuery( Query query )	{		// If it's last element, remove color binding		if ( DataDefinitionTextManager.getInstance( )				.getNumberOfSameDataDefinition( query.getDefinition( ) ) == 1 )		{			ColorPalette.getInstance( )					.retrieveColor( ChartUIUtil.getColumnName( query.getDefinition( ) ) );		}		query.setDefinition( ChartUIUtil.getExpressionString( tablePreview.getCurrentColumnHeading( ) ) );		ColorPalette.getInstance( )				.putColor( tablePreview.getCurrentColumnHeading( ) );		// Reset table column color		refreshTableColor( );	}