// Processing module selected?
final Object selectedItem = methodsCombo.getSelectedItem();
if (selectedItem instanceof MZmineModuleWrapper) {
// Show method's set-up dialog.
final MZmineModuleWrapper wrappedModule = (MZmineModuleWrapper) selectedItem;
final MZmineProcessingModule selectedMethod = (MZmineProcessingModule) wrappedModule
.getModule();
final ParameterSet methodParams = MZmineCore.getConfiguration()
.getModuleParameters(selectedMethod.getClass());
if (methodParams.getParameters().length > 0) {