}
public void createPartControl(Composite parent) {
parent.setLayout( new GridLayout(2, true) );
colorDistribution = new CLabel(parent, SWT.BORDER);
colorDistribution.setLayoutData( new GridData(SWT.FILL, SWT.FILL, true, true) );
colorDistribution.addControlListener(new ControlListener() {
public void controlMoved(ControlEvent e) {}
public void controlResized(ControlEvent e) {
updateRequiredManaChart(null);
}
});
createColorDistributionChart();
manaCurve = new CLabel(parent, SWT.BORDER);
manaCurve.setLayoutData( new GridData(SWT.FILL, SWT.FILL, true, true) );
manaCurve.addControlListener(new ControlListener() {
public void controlMoved(ControlEvent e) {}