Changes between Version 21 and Version 22 of APP_RESOURCE_LIST_IMPORT_EXPORT_R1


Ignore:
Timestamp:
08/20/09 13:16:06 (16 years ago)
Author:
george
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_RESOURCE_LIST_IMPORT_EXPORT_R1

    v21 v22  
    4646 * [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.dialogs.input/src/main/java/org/sophie2/main/dialogs/input/FileDialogInput.java FileDialogInput] and [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.func.file/src/main/java/org/sophie2/main/func/file/dialogs/FileDialog.java FileDialog] should be changed so DialogInput#show() method returns File[]. There should be an option in FileDialogInput, indicating if multiple file selection is enabled. If multi-file selection is not active, a File[] should be returned with size 1, with the single opened file at index 0. Selection mode should be FILES_AND_DIRECTORIES if multi-select enabled, FILES_ONLY else. 
    4747 * [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.func.resources/src/main/java/org/sophie2/main/func/resources/view/InsertResourceItem.java InsertResourceItem], extension of AppMenuItem, should be created. It should use multiple file selection and its filter should accept all supported by Sophie2 files. 
    48  * InsertImageItem, InsertPDFItem, InsertAudioItem, InsertVideoItem, InsertHtmlItem, PlainTextItem, InsertRtfItem should use multiple file selection. They shouldn't fire events anymore, instead they should instance the FileManager class. (for example: [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.func.image/src/main/java/org/sophie2/main/func/image/view/InsertImageItem.java InsertImageItem]) 
    49  * A new class [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.func.file/src/main/java/org/sophie2/main/func/file/FileManager.java FileManager] should fire the corresponding for items in InsertMenu events. Instancing FileManager should do the following: 
     48 * InsertImageItem, InsertPDFItem, InsertAudioItem, InsertVideoItem, InsertHtmlItem, PlainTextItem, InsertRtfItem should use multiple file selection. They shouldn't fire events anymore, instead they should instance the ImportFileManager class. (for example: [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.func.image/src/main/java/org/sophie2/main/func/image/view/InsertImageItem.java InsertImageItem]) 
     49 * A new class [source:/branches/private/george/sophie2-platform/modules/org.sophie2.main.func.file/src/main/java/org/sophie2/main/func/file/ImportFileManager.java ImportFileManager] should fire the corresponding for items in InsertMenu events. Instancing FileManager#openFiles should do the following: 
    5050    1. Get selected files from FileDialog. 
    5151    2. Call method FileManager#OpenFiles(File[] files). In this method, for every File in files, the following is done: