5454import name .abuchen .portfolio .model .Attributable ;
5555import name .abuchen .portfolio .model .Classification ;
5656import name .abuchen .portfolio .model .Client ;
57+ import name .abuchen .portfolio .model .CostMethod ;
5758import name .abuchen .portfolio .model .InvestmentVehicle ;
5859import name .abuchen .portfolio .model .Named ;
5960import name .abuchen .portfolio .model .Portfolio ;
@@ -566,7 +567,7 @@ public Font getFont(Object e)
566567
567568 column = new Column ("9" , Messages .ColumnProfitLoss , SWT .RIGHT , 80 ); //$NON-NLS-1$
568569 column .setGroupLabel (Messages .ColumnProfitLoss );
569- column .setMenuLabel (Messages .ColumnProfitLoss + " (" + Messages . LabelCapitalGainsMethodFIFO + ")" ); //$NON-NLS-1$ //$NON-NLS-2$
570+ column .setMenuLabel (Messages .ColumnProfitLoss + " (" + CostMethod . FIFO . getLabel () + ")" ); //$NON-NLS-1$ //$NON-NLS-2$
570571 column .setDescription (Messages .ColumnUnrealizedCapitalGains_Description + TextUtil .PARAGRAPH_BREAK
571572 + Messages .ColumnProfitLoss_Description );
572573
@@ -579,10 +580,10 @@ public Font getFont(Object e)
579580 support .addColumn (column );
580581
581582 column = new Column ("pl-moving-avg" , //$NON-NLS-1$
582- Messages .ColumnProfitLoss + " (" + Messages . LabelCapitalGainsMethodMovingAverageAbbr + ")" , //$NON-NLS-1$ //$NON-NLS-2$
583+ Messages .ColumnProfitLoss + " (" + CostMethod . MOVING_AVERAGE . getAbbreviation () + ")" , //$NON-NLS-1$ //$NON-NLS-2$
583584 SWT .RIGHT , 80 );
584585 column .setGroupLabel (Messages .ColumnProfitLoss );
585- column .setMenuLabel (Messages .ColumnProfitLoss + " (" + Messages . LabelCapitalGainsMethodMovingAverage + ")" ); //$NON-NLS-1$ //$NON-NLS-2$
586+ column .setMenuLabel (Messages .ColumnProfitLoss + " (" + CostMethod . MOVING_AVERAGE . getLabel () + ")" ); //$NON-NLS-1$ //$NON-NLS-2$
586587 column .setDescription (Messages .ColumnUnrealizedCapitalGainsMA_Description + TextUtil .PARAGRAPH_BREAK
587588 + Messages .ColumnProfitLoss_Description );
588589 labelProvider = new ReportingPeriodLabelProvider (new ElementValueProvider (
0 commit comments