|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.service.project.internal.RecentFilesServiceImpl
public class RecentFilesServiceImpl
This service saves a list of recently opened files.
Nested Class Summary | |
---|---|
static class |
RecentFilesServiceImpl.EntryImpl
|
Nested classes/interfaces inherited from interface eu.esdihumboldt.hale.ui.service.project.RecentFilesService |
---|
RecentFilesService.Entry |
Field Summary | |
---|---|
static int |
MAX_FILES
The maximum number of files in the history |
Constructor Summary | |
---|---|
RecentFilesServiceImpl()
|
Method Summary | |
---|---|
void |
add(String file,
String projectName)
Add a file. |
RecentFilesService.Entry[] |
getRecentFiles()
Get the recent files |
org.eclipse.core.runtime.IStatus |
restoreState(org.eclipse.ui.IMemento memento)
Restore the state |
org.eclipse.core.runtime.IStatus |
saveState(org.eclipse.ui.IMemento memento)
Save the state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_FILES
Constructor Detail |
---|
public RecentFilesServiceImpl()
Method Detail |
---|
public void add(String file, String projectName)
RecentFilesService
add
in interface RecentFilesService
file
- the file nameprojectName
- the project nameRecentFilesService.add(String, String)
public RecentFilesService.Entry[] getRecentFiles()
RecentFilesService
getRecentFiles
in interface RecentFilesService
RecentFilesService.getRecentFiles()
public org.eclipse.core.runtime.IStatus restoreState(org.eclipse.ui.IMemento memento)
RecentFilesService
restoreState
in interface RecentFilesService
memento
- the memento
RecentFilesService.restoreState(IMemento)
public org.eclipse.core.runtime.IStatus saveState(org.eclipse.ui.IMemento memento)
RecentFilesService
saveState
in interface RecentFilesService
memento
- the memento
RecentFilesService.saveState(IMemento)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |