#283 closed (fixed)
Add possiblitiy for direct file - sample links
Reported by: | Fredrik Levander | Owned by: | Fredrik Levander |
---|---|---|---|
Milestone: | Proteios 2.0 | Keywords: | |
Cc: |
Description (last modified by )
It should be possible to set direct links between samples (biomaterials) and files in a two-way many-to-many association. This can be used for annotation or for linking search results, spectrum files etc directly with samples. There should be a separate table that handles these links. The sample and extract forms should show associated files, and provide possibilities to add new links. When clicking on files, associated biomaterials could be shown too.
Change History (11)
comment:1 Changed 15 years ago by
Milestone: | Proteios Future Release → Proteios 2.1 |
---|
comment:2 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Milestone: | Proteios 2.1 → Proteios 2.0 |
comment:3 Changed 15 years ago by
comment:4 Changed 15 years ago by
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
The functionality has been added to the database and to the sample form.
comment:6 Changed 15 years ago by
(In [2422]) Refs #283. Class/file action/file/ViewActiveFile.java in client/servlet/ updated in public method void runMe() by only showing BioMaterials? table if the file has a link to any biomaterial.
comment:7 Changed 15 years ago by
severity: | → 2 |
---|
comment:9 Changed 10 years ago by
comment:10 Changed 10 years ago by
comment:11 Changed 10 years ago by
(In [4458]) Refs #803. Refs #283. Biomaterial - file associations can now be defined by selecting biomaterials to be associated with a file, instead of the other way around:
- Class/file
action/file/ViewActiveFile.java
inclient/servlet/
updated to always show the association table. The table tool-bar is updated with a new button "Add BioMaterials
" coupled to action link to new class/fileaction/file/AddFileBioMaterial.java
inclient/servlet/
. - New class/file
action/file/AddFileBioMaterial.java
inclient/servlet/
added. It uses classViewItemTable
to display a table of available biomaterials to select from, after which action is forwarded to new classCreateFileBioMaterial
. - Class/file
action/ViewItemTable.java
inclient/servlet/
is based on class/fileaction/directory/ViewActiveDirectory.java
inclient/servlet/
, but without the extra complexity added by the directory table.ViewItemTable
is intended to be used for item classes of typeClass<? extends BasicItem>
. If session attributeVBoolean ViewItemTable.VSELECT
isnull
ortrue
, select mode will be used. The list of integer id values for selected items is available in valid parameterFormFactory.VID
. - New class/file
action/file/CreateFileBioMaterial.java
inclient/servlet/
added. It obtains a list of biomaterial id values from valid parameterFormFactory.VID
and adds the items to the file. - English dictionary file
locale/en/dictionary
inclient/servlet/
updated with new entries for various string keys. - Default icon settings file
icons/default
inclient/servlet/
updated with icon assignments for new string keys.
(In [2145]) Refs #283. Added biomaterial-file association table. Added possiblitiy to use files to annotate samples as extension.
When viewing files the annotated biomaterials are listed
When viewing samples the associated files are listed under the annotations tab
Removed warnings and comma from item class