|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for plug-ins that store projects.
Field Summary |
Fields inherited from interface fdda.plugins.Plugin |
ALGORITHM_READER, SYSTEM_READER, SYSTEM_WRITER |
Method Summary | |
ProjectInformation[] |
getLastSavedProjectsInformation()
Returns information about the last stored projects. |
boolean |
performUI()
Interacts with the user to define options for the save operation. |
boolean |
setSystemLocation(String location)
Defines where the project shall be saved (alternative to performUI). |
void |
useGraphic(String component)
Tells the plug-in that the specified graphics component is used and it should store its information. |
void |
writeProject(Project project,
ErrorHandler errorHandler)
Stores a project in a persistent storage. |
Methods inherited from interface fdda.plugins.Plugin |
configure, getName, getType, hasOptions, useDialog |
Method Detail |
public void useGraphic(String component) throws ComponentNotSupportedException
component
- identifier of the graphics component (e.g. "java2d")
ComponentNotSupportedException
- if the plug-in doesn't support
the storage of the data for this componentpublic boolean performUI()
public boolean setSystemLocation(String location)
location
- the location
public ProjectInformation[] getLastSavedProjectsInformation()
public void writeProject(Project project, ErrorHandler errorHandler) throws MissingOptionsException
project
- the projecterrorHandler
- the error handler
MissingOptionsException
- if no location was specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |