Follow these steps if you want to listen to tree selection changes:
Listens for swing tree selection events and translates TreePath selection to MailFolderCommandReference.
Actions creating Commands and passing MailFolderCommandReference directly ask TreeSelectionManager for the selection.