| 12 | |
| 13 | In order to implement the desired functionality to associate biomaterials to a file, one more lack of symmetry needs to be rectified: |
| 14 | |
| 15 | * Classes/files `action/sample/AddSampleFile.java`, `action/extract/AddExtractFile.java`, and `action/extract/AddLabeledExtractFile.java` in `client/servlet/`, all use class/file `action/directory/ViewActiveDirectory.java` in `client/servlet/` to perform the file selection. The latter class was introduced in the first year of Proteios SE development, and has grown in complexity since the start. It contains a directory table and a file table, and has two major modes, one for browsing the Proteios SE file system, and one support mode for selecting one or more files as part of the set-up for a multi-step operation. There is currently no corresponding class for the latter purpose for other items than files. It has been possible to select multiple items in a table and then select an extension to process the items, but this is a different approach. |
| 16 | |
| 17 | In order to be able to select biomaterials to be associated with a file, the following update should be made: |
| 18 | |
| 19 | * An equivalent class to `ViewActiveDirectory` should be created for general items (only restricted to be instances of `Class<? extends BasicItem>`), in order to be able to select the items as part of the set-up for a multi-step operation. The new class will be named `ViewItemTable`, and will be based on `ViewActiveDirectory`, but without the extra complexity added by the directory table. |