|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for plug-ins that load projects.
Field Summary |
Fields inherited from interface fdda.plugins.Plugin |
ALGORITHM_READER, SYSTEM_READER, SYSTEM_WRITER |
Method Summary | |
ProjectInformation[] |
getLastLoadedProjectsInformation()
Returns information about the last loaded projects. |
void |
loadProject(ErrorHandler errorHandler,
Project project)
Loads a project. |
boolean |
performUI()
Interacts with the user to define options for the load operation. |
boolean |
setSystemLocation(String location)
Sets the storage location of the project. |
void |
useGraphic(String component)
Tells the plug-in that the specified graphics component is used and it should load its information. |
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 loading of the data for this componentpublic boolean performUI()
public boolean setSystemLocation(String location)
location
- the location
public void loadProject(ErrorHandler errorHandler, Project project) throws MissingOptionsException
errorHandler
- the errorHandlerproject
- the project that is filled with the loaded data
MissingOptionsException
- if no location was specifiedpublic ProjectInformation[] getLastLoadedProjectsInformation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |