org.scijava.io
Interface RecentFileService
- All Superinterfaces:
- Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, Prioritized, RichPlugin, SciJavaPlugin, SciJavaService, Service
- All Known Implementing Classes:
- DefaultRecentFileService
public interface RecentFileService
- extends SciJavaService
Interface for services that manage the Recently Used Files menu.
- Author:
- Grant Harris, Curtis Rueden
Method Summary |
void |
add(String path)
Adds or refreshes a path on the list of recent files. |
void |
clear()
Clears the list of recent files. |
List<String> |
getRecentFiles()
Gets the list of recent files. |
boolean |
remove(String path)
Removes a path from the list of recent files. |
MAX_FILES_SHOWN
static final int MAX_FILES_SHOWN
- See Also:
- Constant Field Values
add
void add(String path)
- Adds or refreshes a path on the list of recent files.
remove
boolean remove(String path)
- Removes a path from the list of recent files.
clear
void clear()
- Clears the list of recent files.
getRecentFiles
List<String> getRecentFiles()
- Gets the list of recent files.
Copyright © 2009–2015 SciJava. All rights reserved.