Package org.omegat.gui.preferences
Class PreferencesControllers
- java.lang.Object
-
- org.omegat.gui.preferences.PreferencesControllers
-
public final class PreferencesControllers extends java.lang.Object
A class for aggregating preferences controllers. Plugins should add their suppliers (these can simply be constructor method references, i.e.MyClass::new
) viaaddSupplier(Supplier)
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addSupplier(java.util.function.Supplier<IPreferencesController> view)
static java.util.List<java.util.function.Supplier<IPreferencesController>>
getSuppliers()
-
-
-
Method Detail
-
addSupplier
public static void addSupplier(java.util.function.Supplier<IPreferencesController> view)
-
getSuppliers
public static java.util.List<java.util.function.Supplier<IPreferencesController>> getSuppliers()
-
-