String text = axisIndex == 0 ? "" : Messages.getString( "TaskSelectData.Label.Overlay" ); text += Messages.getString( "TaskSelectData.Label.Series" ) + ( seriesIndex + 1 ) + " (" + series.getDisplayName( ) + ")"; return text;
StringBuffer sb = new StringBuffer( ); if ( ChartUIUtil.getOrthogonalAxisNumber( getChartModel( ) ) > 2 ) { sb.append( Messages.getString( "DataDefinitionSelector.Label.Axis" ) ); sb.append( axisIndex + 1 ); sb.append( " - " ); } else { if ( axisIndex > 0 ) { sb.append( Messages.getString( "TaskSelectData.Label.Overlay" ) ); } } sb.append( Messages.getString( "TaskSelectData.Label.Series" ) + ( seriesIndex + 1 ) + " (" + series.getDisplayName( ) + ")" ); return sb.toString( );
	private String getSecondMenuText( int axisIndex, int seriesIndex,			Series series )	{		String text = axisIndex == 0				? "" : Messages.getString( "TaskSelectData.Label.Overlay" ); //$NON-NLS-1$ //$NON-NLS-2$		text += Messages.getString( "TaskSelectData.Label.Series" ) //$NON-NLS-1$				+ ( seriesIndex + 1 ) + " (" + series.getDisplayName( ) + ")"; //$NON-NLS-1$ //$NON-NLS-2$		return text;	}