Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.service.project
Interface RecentFilesService

All Known Implementing Classes:
RecentFilesServiceImpl

public interface RecentFilesService

Service that manages recent projects

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Nested Class Summary
static interface RecentFilesService.Entry
          A recent files entry.
 
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
 

Method Detail

add

void add(String file,
         String projectName)
Add a file.

Parameters:
file - the file name
projectName - the project name

getRecentFiles

RecentFilesService.Entry[] getRecentFiles()
Get the recent files

Returns:
the recent files

restoreState

org.eclipse.core.runtime.IStatus restoreState(org.eclipse.ui.IMemento memento)
Restore the state

Parameters:
memento - the memento
Returns:
the status

saveState

org.eclipse.core.runtime.IStatus saveState(org.eclipse.ui.IMemento memento)
Save the state

Parameters:
memento - the memento
Returns:
the status

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d