Package org.omegat.gui.preferences
Class PreferencesWindowController
- java.lang.Object
-
- org.omegat.gui.preferences.PreferencesWindowController
-
- All Implemented Interfaces:
IPreferencesController.FurtherActionListener
public class PreferencesWindowController extends java.lang.Object implements IPreferencesController.FurtherActionListener
A modal window aggregating all preference "views" (IPreferencesController
s). Plugins can provide their own views viaPreferencesControllers.addSupplier(java.util.function.Supplier)
.
-
-
Constructor Summary
Constructors Constructor Description PreferencesWindowController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setReloadRequired(boolean reloadRequired)
void
setRestartRequired(boolean restartRequired)
void
show(java.awt.Window parent)
void
show(java.awt.Window parent, java.lang.Class<? extends IPreferencesController> initialSelection)
-
-
-
Method Detail
-
show
public void show(java.awt.Window parent)
-
show
public void show(java.awt.Window parent, java.lang.Class<? extends IPreferencesController> initialSelection)
-
setRestartRequired
public void setRestartRequired(boolean restartRequired)
- Specified by:
setRestartRequired
in interfaceIPreferencesController.FurtherActionListener
-
setReloadRequired
public void setReloadRequired(boolean reloadRequired)
- Specified by:
setReloadRequired
in interfaceIPreferencesController.FurtherActionListener
-
-