Changes between Version 9 and Version 10 of NFR_LARGE_RESOURCES_R0


Ignore:
Timestamp:
11/09/09 17:56:56 (15 years ago)
Author:
meddle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NFR_LARGE_RESOURCES_R0

    v9 v10  
    9696   * If the type is LINKED_ABSOLUTE create a FileBinData with File for the path in the 'src' attribute. 
    9797   * If the type is LINKED_RELATIVE, get the path to the resource file it is relative from the PersistenceOptions. It is store when loading in the constant PersistenceUtil.LOCATION. That make FileBinData with file the File for the path stored in the 'src'attribute and parent the path to the resource file. 
    98    * If it's remote make RemoteBinData with the path to the file stored in the 'src' attribute and Account the stored account (optional). 
     98   * If it's remote make RemoteBinData with the path to the file stored in the 'src' attribute (optional). 
    9999  * User inteface: 
    100100   * As in the analysis when importing media resources ask the user or link or embed the media. 
    101101    * The FileDialog's JFileChooser should be modified to have combo box with options how to import the binary data. 
    102102     * JFileChooser can have an accessory component used for additional information when choosing files. 
    103      * Modify the FileDialogInput to have accessory logic. 
     103     * Modify the [browser:/branches/private/meddle/nfr_large_resources/modules/org.sophie2.main.dialogs.input/src/main/java/org/sophie2/main/dialogs/input/FileDialogInput.java FileDialogInput] to have accessory logic. 
    104104      * Make two inner classes in the FileDialogInput: 
    105105       * FileAccessory, baseProObject, has two abstract methods: 
     
    113113      * When constructing the FileContainer as a result of showing FileDialog, it can be constructed with AccessoryData, which can be null. 
    114114      * The FileContainer has method getAccessoryData with one parameter the generic type of the data. 
    115       * Add new FileAccessory, BinDataChooser in the main.funk.resources module. 
     115      * Add new FileAccessory, [browser:/branches/private/meddle/nfr_large_resources/modules/org.sophie2.main.func.resources/src/main/java/org/sophie2/main/func/resources/imports/bindata/BinDataChooser.java BinDataChooser] in the main.funk.resources module. 
    116116       * It has JLabels with information for the user. 
    117117       * It has combo bx with choices for embed and link (can be with radio buttons if dido wants :)) 
    118118       * It has check box for copying to the '_files' directory. 
    119119      * Add new AccessoryData in the same module, its generic type is ImportBinDataType. 
    120       * Add enumeration ImportBinDataType in the same module with three choices EMBED, LINK, COPY_AND_LINK. I don't think it is redundant, because the BinDataPersistType another purpose and contains types for remote datas. 
     120      * Add enumeration [browser:/branches/private/meddle/nfr_large_resources/modules/org.sophie2.main.func.resources/src/main/java/org/sophie2/main/func/resources/imports/bindata/ImportBinDataType.java ImportBinDataType] in the same module with three choices EMBED, LINK, COPY_AND_LINK. I don't think it is redundant, because the BinDataPersistType another purpose and contains types for remote datas. 
    121121      * When importing media resources between 4 and 16 MB pass the new accessory as accessory to the file dialog. 
    122122       * That is easy, modify the ImportManagers of the media resources to pass the accessory. 
     
    136136  * [browser:/branches/private/meddle/nfr_large_resources/modules/org.sophie2.main.func.media/src/test/java/org/sophie2/main/func/media/model/resources/MediaPersistenceTest.java MediaPersistenceTest] 
    137137  * [browser:/branches/private/meddle/nfr_large_resources/modules/org.sophie2.main.func.file/src/test/java/org/sophie2/main/func/file/dialogs/FileDialogAccessoryDemo.java FileDialogAccessoryDemo] 
     138  * [browser:/branches/private/meddle/nfr_large_resources/modules/org.sophie2.main.func.resources/src/test/java/org/sophie2/main/func/resources/imports/bindata/BinDataChooserDemo.java BinDataChooserDemo] 
    138139 * Branch in the track browser: 
    139140  * [browser:/branches/private/meddle/nfr_large_resources]