Changes between Version 8 and Version 9 of GROUP_SCRIPTING_R0


Ignore:
Timestamp:
07/07/09 17:47:02 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_SCRIPTING_R0

    v8 v9  
    7575    * a text area that fires EDIT_SCRIPT 
    7676    * and "Run" {{{LogicR3Button}}} that fires RUN_SCRIPT 
    77   * class {{{ScriptDocumentWindowProvider}}} implements {{{DocumentWindowProvider}}} (see below) 
     77  * class {{{ScriptDocumentWindowProvider}}} implements {{{DocumentWindowProvider}}} (see last section) 
    7878   * getWindow should return a new {{{ScriptDocumentWindow}}} for the given script resource 
    7979   * register it as an extension 
     
    9595    * listens for the event in {{{InsertScriptItem}}} 
    9696    * creates a new empty {{{ScriptResource}}} in current book (use {{{CurrentBookUtil.getCurrentBook}}}) 
    97     * adds it to {{{App.documents}}} (see below for details) 
     97    * adds it to {{{App.documents}}} (see last section for details) 
    9898   * INSERT_SCRIPT_FILE 
    9999    * listens for the event in {{{InsertScriptFileItem}}} 
    100100    * displays a file dialog for "JavaScript files (*.js)" with "Insert" button 
    101101    * using the persisters, creates a new {{{ScriptResource}}} in current book 
    102     * adds it to {{{App.documents}}} (see below for details) 
     102    * adds it to {{{App.documents}}} (see last section) 
    103103   * RUN_SCRIPT 
    104104    * write the following temporary solution: 
     
    123123  * Class {{{org.sophie2.main.app.commons.windows.DocumentWindowProviderFactory}}} 
    124124   * 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. 
     125  * Remove the properties {{{currentBook}}} and {{{lastCurrentBook}}} in {{{App}}}. 
     126   * Create analogical property {{{lastCurrentWindow}}} in {{{AppDocumentsDesktop}}}. 
     127   * Refactor the {{{AppDocumentsDesktop.currentWindow}}}. 
     128   * Replace all calls of currentBook with calls of currentWindow. 
    125129  * On book closing close all children resources too (currently they can be scripts). 
    126130