Run configuration settings editor with UI DSL?

Is anyone successfully using the UI DSL for a run configuration SettingsEditor?
UI DSL would be great for bindings, validation, etc. but so far it seems disconnected from the run configuration settings editor.

With existing classes like CommonProgramParametersPanel I’d have to reimplement a bunch of code and I’m not yet sure if bindings and validation could be properly adapted to SettingsEditor.

As a matter of fact, I did this once a while ago. The code can be found here, specifically PanelBasedSettingsEditor.kt (half-documented). Example implementations can be found in *SettingsEditor.kt files.

Thanks!
I had already started my own implementation, using MutableProperty and ObservableMutableProperty for the bindings and then applied the properties to the settings in apply and reset.
Your idea to keep a settings instance and use it for copy in apply and reset is much better and maintainable. Thanks for the idea! :slight_smile:

I have not yet looked into validation, but that should be somehow possible with CheckableConfiguration, I suppose.