|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectManager
Provides a way of loading and storing projects.
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener aListener)
Adds the given listener to the list of property change listeners. |
Project |
createNewProject()
Creates a new project. |
Project |
createTemporaryProject()
Deprecated. do not use, no replacement. |
Project |
getCurrentProject()
Returns the current project. |
void |
loadProject(InputStream aInput)
Loads a project from the given input stream. |
void |
removePropertyChangeListener(PropertyChangeListener aListener)
Removes the given listener from the list of property change listeners. |
void |
saveProject(OutputStream aOutput)
Stores a project to the given output stream. |
Method Detail |
---|
void addPropertyChangeListener(PropertyChangeListener aListener)
aListener
- a property change listener, cannot be null
.Project createNewProject()
@Deprecated Project createTemporaryProject()
Project getCurrentProject()
null
.void loadProject(InputStream aInput) throws IOException
aInput
- the input to read the project from, cannot be null
.
IOException
- in case of I/O problems during the read of the project.void removePropertyChangeListener(PropertyChangeListener aListener)
aListener
- a property change listener, cannot be null
.void saveProject(OutputStream aOutput) throws IOException
aOutput
- the output to write the project to, cannot be null
.
IOException
- in case of I/O problems during writing of the project.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |