Changes between Version 9 and Version 10 of GROUP_SCRIPTING_R0
- Timestamp:
- 07/07/09 17:52:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_SCRIPTING_R0
v9 v10 45 45 46 46 = Design = 47 47 48 * Create a Sophie module {{{org.sophie2.extra.func.scripting}}}. 49 * Create a class {{{org.sophie2.extra.func.scripting.ScriptingModule}}} that extends {{{SophieModule}}}. 50 48 51 * Create subpackages model, view and logic. 49 50 52 51 53 * model: … … 56 58 * class {{{ScriptPersister}}} extends {{{Persister<String, Storage>}}} 57 59 * schema "resource:script|storage|r3" 60 * the storage should have one child for the script text 58 61 * this persister is needed when the parent book is persisted. 59 62 * class {{{ScriptFilePersister}}} extends {{{Persister<Storage, File>}}} … … 122 125 * Register it as an extension 123 126 * Class {{{org.sophie2.main.app.commons.windows.DocumentWindowProviderFactory}}} 124 * static DocumentWindow createWindow(ResourceRef ref) that iterates over all extensions in the extension point and if an appropriate provider is found, creates a document window with it. 127 * static DocumentWindow createWindow(ResourceRef ref) 128 * iterates over all extensions in the extension point 129 * if an appropriate provider is found, creates a document window with it 125 130 * Remove the properties {{{currentBook}}} and {{{lastCurrentBook}}} in {{{App}}}. 126 131 * Create analogical property {{{lastCurrentWindow}}} in {{{AppDocumentsDesktop}}}.