Fix build errors : replace PlotWindow by AbstractPlotWindow