boolean (final ModuleWizardStep step) { try { if (!step.validate()) { return false; } } catch (ConfigurationException e) { Messages.showErrorDialog(myContentPanel, e.getMessage(), e.getTitle()); return false; } step.updateDataModel(); return true; }