Class FiltersCustomizerController

java.lang.Object
org.omegat.gui.preferences.BasePreferencesController
org.omegat.gui.filters2.FiltersCustomizerController
All Implemented Interfaces:
IPreferencesController

@NullMarked public class FiltersCustomizerController extends BasePreferencesController
  • Constructor Details

    • FiltersCustomizerController

      public FiltersCustomizerController()
    • FiltersCustomizerController

      public FiltersCustomizerController(boolean projectSpecific, Filters defaultFilters, @Nullable Filters userFilters, @Nullable Filters projectFilters)
  • Method Details

    • getGui

      public 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 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 interface IPreferencesController
      Specified by:
      toString in class BasePreferencesController
    • persist

      public void persist()
      Description copied from interface: IPreferencesController
      Commit changes.
    • restoreDefaults

      public void restoreDefaults()
      Description copied from interface: IPreferencesController
      Restore preferences controlled by this view to their default state.
    • getResult

      public @Nullable Filters getResult()