TableSelectionHandler adds another abstraction layer to the swing JTable
selection model.
It is responsible for providing a mapping between swing table rows or tree
nodes into message UIDs and back.
Additionally it is able to encapsulate a message object transparently for
every action in Columba. This means actions don't need to care about if this
message is actually from a folder-/table-selection, as it usually is
(example: user selects a message in the table and does a move operation on
it), or if it is just a temporary message ( example: pgp-decrypted message ).
For this reason it uses a temporary folder to save such a message and provide
actions with the correctly mapped MailFolderCommandReference[] object.
author: fdietz |