*/
public class AggregateDistributionForSubTreeHandler extends CdmHandlerE4 {
-
-
private TaxonNodeDto taxonNode;
private DistributionAggregationConfiguration configurator;
private static final String NO = Messages.NO;
private static final String CANCEL = Messages.RemotingMoveTaxonNodeHandler_CANCEL;
private static final String YES = Messages.YES;
- /**
- * @param label
- */
public AggregateDistributionForSubTreeHandler() {
super("");
-
}
-
@Override
public IStatus allowOperations(IStructuredSelection selection, Shell shell, MPart activePart,
MHandledMenuItem menuItem) {
}
}
-
- configurator = DistributionAggregationConfiguration.NewInstance(AggregationMode.byAreasAndRanks(), null, TaxonNodeFilter.NewSubtreeInstance(taxonNode.getUuid()), null);
+ configurator = DistributionAggregationConfiguration.NewInstance(AggregationMode.byWithinTaxonAndToParent(), null, TaxonNodeFilter.NewSubtreeInstance(taxonNode.getUuid()), null);
DistributionAggregationConfiguratorWizard wizard = new DistributionAggregationConfiguratorWizard(configurator);
WizardDialog dialog = new WizardDialog(shell, wizard);
@Override
public void onComplete() {
// TODO Auto-generated method stub
-
}
@Override