Package org.omegat.gui.preferences.view
Class PluginsPreferencesController
java.lang.Object
org.omegat.gui.preferences.BasePreferencesController
org.omegat.gui.preferences.view.PluginsPreferencesController
- All Implemented Interfaces:
IPreferencesController
Controller for the Plugins preferences panel.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.omegat.gui.preferences.IPreferencesController
IPreferencesController.FurtherActionListener -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether supporting `restoreDefaults` feature.getGui()Get the GUI (the "view") controlled by this controller.voidHandle tab change eventsvoidpersist()Commit changes.voidRestore preferences controlled by this view to their default state.toString()Implementors should override this to return the name of the view as shown in the view tree.Methods inherited from class org.omegat.gui.preferences.BasePreferencesController
addFurtherActionListener, isReloadRequired, isRestartRequired, removeFurtherActionListener, setReloadRequired, setRestartRequired, undoChangesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.omegat.gui.preferences.IPreferencesController
getParentViewClass, validate
-
Field Details
-
PLUGINS_WIKI_URL
- See Also:
-
-
Constructor Details
-
PluginsPreferencesController
public PluginsPreferencesController()
-
-
Method Details
-
getGui
Description copied from interface:IPreferencesControllerGet the GUI (the "view") controlled by this controller. This should not be a window (e.g. JDialog, JFrame) but rather a component embeddable in a window (e.g. JPanel). -
toString
Description copied from interface:IPreferencesControllerImplementors should override this to return the name of the view as shown in the view tree.- Specified by:
toStringin interfaceIPreferencesController- Specified by:
toStringin classBasePreferencesController
-
onTabChanged
public void onTabChanged()Handle tab change events -
restoreDefaults
public void restoreDefaults()Description copied from interface:IPreferencesControllerRestore preferences controlled by this view to their default state. -
persist
public void persist()Description copied from interface:IPreferencesControllerCommit changes. -
canRestoreDefaults
public boolean canRestoreDefaults()Description copied from interface:IPreferencesControllerWhether supporting `restoreDefaults` feature.
-