Package kiyut.citra.options
Class MRUFilesOptions
- java.lang.Object
-
- kiyut.citra.options.AbstractOptions
-
- kiyut.citra.options.MRUFilesOptions
-
- All Implemented Interfaces:
Options
public class MRUFilesOptions extends AbstractOptions
MRUFiles settings for Netbeans Platform Settings. It keep the most recently used files up to 9- Author:
- Kiyut
-
-
Field Summary
Fields Modifier and Type Field Description static StringMRU_FILE_LIST_PROPERTY-
Fields inherited from class kiyut.citra.options.AbstractOptions
DEFAULT_NODE_NAME, listenerList, nodeName
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMRUFilesOptions()Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFile(String absolutePath)static MRUFilesOptionsgetInstance()Returns the single instance, creating one if it's the first time this method is called.List<String>getMRUFileList()protected voidretrieve()voidsetMRUFileList(List<String> list)protected voidstore()-
Methods inherited from class kiyut.citra.options.AbstractOptions
addPropertyChangeListener, firePropertyChange, getPreferences, removePropertyChangeListener
-
-
-
-
Field Detail
-
MRU_FILE_LIST_PROPERTY
public static final String MRU_FILE_LIST_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static MRUFilesOptions getInstance()
Returns the single instance, creating one if it's the first time this method is called.- Returns:
- The single instance.
-
addFile
public void addFile(String absolutePath)
-
store
protected void store()
-
retrieve
protected void retrieve()
-
-