Package org.esa.snap.ui
Class FormatedFileHistory
- java.lang.Object
-
- org.esa.snap.ui.UserInputHistory
-
- org.esa.snap.ui.FileHistory
-
- org.esa.snap.ui.FormatedFileHistory
-
public class FormatedFileHistory extends FileHistory
FileHistory
is a fixed-size array for the pathes of files opened/saved by a user. If a new file is added and the file history is full, the list of registered files is shifted so that the oldest file path is beeing skipped..- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description FormatedFileHistory(int maxNumEntries, String propertyKey, ProductReaderPlugIn readerPlugIn)
FormatedFileHistory(FileHistory history, ProductReaderPlugIn readerPlugIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isValidItem(String item)
-
Methods inherited from class org.esa.snap.ui.UserInputHistory
copyInto, getEntries, getMaxNumEntries, getNumEntries, getPropertyKey, initBy, push, setMaxNumEntries
-
-
-
-
Constructor Detail
-
FormatedFileHistory
public FormatedFileHistory(FileHistory history, ProductReaderPlugIn readerPlugIn)
-
FormatedFileHistory
public FormatedFileHistory(int maxNumEntries, String propertyKey, ProductReaderPlugIn readerPlugIn)
-
-
Method Detail
-
isValidItem
protected boolean isValidItem(String item)
- Overrides:
isValidItem
in classFileHistory
-
-