01: package tide.editor;
02:
03: import tide.project.ProjectSettings;
04:
05: public interface ProjectListener {
06: // TODO ??
07: //void projectWillBeLoaded();
08:
09: /** Called when the project really has been loaded.
10: * so actions can be delayed when this occurs!
11: * (outputtable, messages typically restores only when the project has been loaded)
12: */
13: void projectHasBeenLoaded(ProjectSettings ps);
14:
15: /** Called when the project is closing.
16: * Registered listeners may add their custom data in the project settings.
17: */
18: void projectIsSaving(ProjectSettings ps);
19:
20: /** When another project opens or on app exit.
21: * actions should NOT be delayed in a thread.
22: * Project settings are not saved at this time, so they can be used.
23: */
24: void projectHasBeenClosed(ProjectSettings ps);
25:
26: }
|