private WizardFragment getEditGeneratorConfigurationWizardFragment( IGeneratorConfiguration generatorConfiguration) { WizardFragment fragment = JM2TUI.getWizardFragment(generatorConfiguration.getGeneratorType().getId()); if (fragment != null) { return fragment; } return new NewGeneratorConfigurationWizardFragment(); }