|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprojectviewer.persist.ProjectPersistenceManager
public final class ProjectPersistenceManager
This class takes care of each projects properties. Each project has its own config file, that is loaded when the project is activated.
| Nested Class Summary | |
|---|---|
static class |
ProjectPersistenceManager.ProjectHandler
Handler to read project configuration files. |
| Method Summary | |
|---|---|
static java.lang.Runnable |
createSaveTask(VPTProject p,
java.lang.String filename)
Creates a runnable task that will save the project's data to the given config file. |
static VPTProject |
load(VPTProject p,
java.lang.String file)
Loads a project from the given file name. |
static void |
registerHandler(NodeHandler nh)
Registers a node handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerHandler(NodeHandler nh)
public static VPTProject load(VPTProject p,
java.lang.String file)
public static java.lang.Runnable createSaveTask(VPTProject p,
java.lang.String filename)
p - The project to save.filename - The project config file name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||