Ticket #556 (closed: fixed)

Opened 3 years ago

Last modified 3 years ago

View action for search results file cell in Hits table

Reported by: olle Owned by: olle
Milestone: Proteios SE 2.8 Keywords:
Cc:

Description

Search results file cell in Hits table should have view action for inspecting the search results.

  • If the search results for the file have been imported, the view action should be set to ViewActiveSpectrumSearch for viewing the imported search results. Otherwise, the view action should be set to ViewActiveFile for viewing the search results file properties.
  • For consistency, the same view action should be added to the search results file cell in the single hit view table, as recommended in Ticket #507 (View action for hits should use a table instead of generic form).

Change History

comment:1 Changed 3 years ago by olle

  • Status changed from new to assigned

Ticket accepted.

comment:2 Changed 3 years ago by olle

(In [3282]) Refs #556. Refs #507. Refs #554. First version of view action for search results file cell in Hits table:

  1. Class/file action/ActionFactory.java in client/servlet/ updated

in public synchronized method ActionLink getViewActionLink(AttributeDefinition ad) by setting view action for search results file cell in Hits table to ViewHitSearchResultFile.class.

  1. Class/file action/hit/ViewActiveHit.java in client/servlet/

updated in private method Table constructHitTable(Hit hit) by setting view action for search results file cell in single hit view table to ViewHitSearchResultFile.class.

  1. New class/file action/hit/ViewHitSearchResultFile.java in

client/servlet/ added. It transfers the selected hit id to session attribute ViewActiveHit.VHITID, and then forwards the action to new action class ViewActiveHitSearchResultFile.class.

  1. New class/file action/hit/ViewActiveHitSearchResultFile.java in

client/servlet/ added. It the results in the search results file have been imported, the view action is set to class ViewActiveSpectrumSearch for inspecting the imported results, otherwise class ViewActiveFile for inspecting the search results file properties. Finally, the action is forwarded to the chosen view action class.

comment:3 Changed 3 years ago by olle

  • severity changed from 16 to 2

Severity set to 2, since the design could be based on code for existing classes.

comment:4 Changed 3 years ago by olle

  • Status changed from assigned to closed
  • Resolution set to fixed

Ticket closed as the desired functionality has been added.

Note: See TracTickets for help on using tickets.