mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-23 07:50:09 -08:00
Change the default implementation string to "<default>"
This commit is contained in:
parent
3650d1eec7
commit
f194eb891c
|
@ -155,7 +155,7 @@ public class AbacusController implements PluginListener {
|
||||||
Set<String> disabledPlugins = configuration.getDisabledPlugins();
|
Set<String> disabledPlugins = configuration.getDisabledPlugins();
|
||||||
numberImplementationOptions.addAll(abacus.getPluginManager().getAllNumbers());
|
numberImplementationOptions.addAll(abacus.getPluginManager().getAllNumbers());
|
||||||
String actualImplementation = configuration.getNumberImplementation();
|
String actualImplementation = configuration.getNumberImplementation();
|
||||||
String toSelect = (numberImplementationOptions.contains(actualImplementation)) ? actualImplementation : "naive";
|
String toSelect = (numberImplementationOptions.contains(actualImplementation)) ? actualImplementation : "<default>";
|
||||||
numberImplementationBox.getSelectionModel().select(toSelect);
|
numberImplementationBox.getSelectionModel().select(toSelect);
|
||||||
for(Class<?> pluginClass : abacus.getPluginManager().getLoadedPluginClasses()){
|
for(Class<?> pluginClass : abacus.getPluginManager().getLoadedPluginClasses()){
|
||||||
String fullName = pluginClass.getName();
|
String fullName = pluginClass.getName();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user