class ExperimentalFeaturesEditorScreen implements ExperimentalFeaturesEditorScreenView.Presenter {

    protected void doSave(final EditableExperimentalFeature feature) {
        editorService.call((RemoteCallback<Void>) aVoid -> registryService.updateExperimentalFeature(feature.getFeatureId(), feature.isEnabled())).save(feature);
    }

    @Inject public  ExperimentalFeaturesEditorScreen(final TranslationService translationService,
                                            final ClientExperimentalFeaturesRegistryService registryService,
                                            final ExperimentalFeatureDefRegistry defRegistry,
                                            final ExperimentalFeaturesEditorScreenView view,
                                            final ManagedInstance<ExperimentalFeaturesGroup> groupsInstance,
                                            final Caller<FeaturesEditorService> editorService,
                                            final SessionInfo sessionInfo,
                                            final AuthorizationManager authorizationManager);

}