Class MRUFileListPreferenceSaver
java.lang.Object
org.apache.log4j.chainsaw.prefs.MRUFileListPreferenceSaver
- All Implemented Interfaces:
EventListener, SettingsListener
Loads/Saves the MRU lists from preferences
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final MRUFileListPreferenceSaverprivate FilegetMRULocation(File dir) voidloadSettings(LoadSettingsEvent event) When a request to load Settings has been requested, this method will be invoked by the SettingsManager.voidsaveSettings(SaveSettingsEvent event)
-
Field Details
-
instance
-
-
Constructor Details
-
MRUFileListPreferenceSaver
private MRUFileListPreferenceSaver()
-
-
Method Details
-
getInstance
-
loadSettings
Description copied from interface:SettingsListenerWhen a request to load Settings has been requested, this method will be invoked by the SettingsManager. The implementing component can query the event for settings, and modify it's internal state based on these settings.- Specified by:
loadSettingsin interfaceSettingsListener- Parameters:
event-
-
saveSettings
- Specified by:
saveSettingsin interfaceSettingsListener
-
getMRULocation
-