GP-4309 - Updated Options API to defer Swing PropertyEditor construction

This commit is contained in:
dragonmacher 2024-03-12 15:19:15 -04:00
parent 50df70ba0f
commit cabeaf3c1b
29 changed files with 317 additions and 316 deletions

View file

@ -34,7 +34,8 @@ public abstract class AbstractTraceRmiLaunchOpinion implements TraceRmiLaunchOpi
String pluginName = PluginUtils.getPluginNameFromClass(TraceRmiLauncherServicePlugin.class);
options.registerOption(TraceRmiLauncherServicePlugin.OPTION_NAME_SCRIPT_PATHS,
OptionType.STRING_TYPE, "", new HelpLocation(pluginName, "options"),
"Paths to search for user-created debugger launchers", new ScriptPathsPropertyEditor());
"Paths to search for user-created debugger launchers",
() -> new ScriptPathsPropertyEditor());
}
@Override