public interface ProjectManager
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.