2829303132333435363738
} @Override protected Control createBody(Composite parent) { canvas = new PieChart(parent, SWT.NONE); ClientSnapshot snapshot = ClientSnapshot.create(getClient(), Dates.today()); List<PieChart.Slice> slices = new ArrayList<PieChart.Slice>();
2122232425262728293031
} @Override public Control createControl(Composite container) { pieChart = new PieChart(container, SWT.NONE); updatePieSlices(); return pieChart; }