Package org.omegat.gui.preferences.view
Class TagProcessingOptionsController
- java.lang.Object
-
- org.omegat.gui.preferences.BasePreferencesController
-
- org.omegat.gui.preferences.view.TagProcessingOptionsController
-
- All Implemented Interfaces:
IPreferencesController
public class TagProcessingOptionsController extends BasePreferencesController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.omegat.gui.preferences.IPreferencesController
IPreferencesController.FurtherActionListener
-
-
Constructor Summary
Constructors Constructor Description TagProcessingOptionsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getGui()
Get the GUI (the "view") controlled by this controller.void
persist()
Commit changes.void
restoreDefaults()
Restore preferences controlled by this view to their default state.java.lang.String
toString()
Implementors should override this to return the name of the view as shown in the view tree.boolean
validate()
Validate the current preferences.-
Methods inherited from class org.omegat.gui.preferences.BasePreferencesController
addFurtherActionListener, isReloadRequired, isRestartRequired, removeFurtherActionListener, setReloadRequired, setRestartRequired, undoChanges
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.omegat.gui.preferences.IPreferencesController
getParentViewClass
-
-
-
-
Method Detail
-
getGui
public javax.swing.JComponent getGui()
Description copied from interface:IPreferencesController
Get 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
public java.lang.String toString()
Description copied from interface:IPreferencesController
Implementors should override this to return the name of the view as shown in the view tree.- Specified by:
toString
in interfaceIPreferencesController
- Specified by:
toString
in classBasePreferencesController
-
restoreDefaults
public void restoreDefaults()
Description copied from interface:IPreferencesController
Restore preferences controlled by this view to their default state.
-
validate
public boolean validate()
Description copied from interface:IPreferencesController
Validate the current preferences. Implementors should override to implement validation logic as necessary.When validation fails, implementors should not raise dialogs; instead they should offer feedback within the view GUI.
- Returns:
- True if the settings are valid and OK to be persisted; false if not
-
persist
public void persist()
Description copied from interface:IPreferencesController
Commit changes.
-
-