* @author k.luther
* @since 15.11.2019
*/
-public class DistributionAggregationWizardPage extends AggregationConfigurationWizardPage<DistributionAggregation> implements Listener, SelectionListener{
+public class DistributionAggregationWizardPage
+ extends AggregationConfigurationWizardPage<DistributionAggregation,DistributionAggregationConfiguration>
+ implements Listener, SelectionListener{
private Button buttonSuperArea;
private Combo comboAreaLevel;
buttonSuperArea.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
- SuperAreaSelectionWizard availableDistributionWizard = new SuperAreaSelectionWizard((DistributionAggregationConfiguration) configurator, (NamedAreaLevel)comboAreaLevel.getData(comboAreaLevel.getText()));
+ SuperAreaSelectionWizard availableDistributionWizard = new SuperAreaSelectionWizard(configurator, (NamedAreaLevel)comboAreaLevel.getData(comboAreaLevel.getText()));
WizardDialog dialog = new WizardDialog(AbstractUtility.getShell(),
availableDistributionWizard);
int open = dialog.open();