Scenarios for Jestre


I - Select A MailBox

Dynamic Diagram
  1. User clicks the MailBox on MBoxCollectionView
  2. MBoxCollectionView tells MBoxCollection about the Selection
  3. MBoxCollection gets the SVMBox and connects it to the SVMBoxView
  4. MBoxCollection connects the SVMBoxView to the SVMBox
  5. MBoxCollection tells the SVMBoxView to update

II - Create/Delete/Rename a MailBox

Dynamic Diagram
  1. User clicks the button in MBoxCollectionView
  2. MBoxCollectionView tells MBoxCollection about the command
  3. MBoxCollection takes the appropriate action, prompting if necessary
  4. MBoxCollection does a Select

III - Search for messages containing a sub-string

Dynamic Diagram
  1. User clicks the Search button in MBoxCollectionView.
  2. MBoxCollectionView tells MBoxCollection to search
  3. MBoxCollection prompts the user for the string, and to find out whether to search all MailBoxes or just the current one
  4. MBoxCollection tells each SVMBox to search itself and return matching messages
  5. MBoxCollection creates a new Search-Result MailBox
  6. MBoxCollection copies the matching messages to the new MailBox
  7. MBoxCollection performs a Select on the new mailbox

IV - Select or Deselect a Message

Dynamic Diagram
  1. User clicks on the Message list in SVMBoxView
  2. SVMBoxView calls the Select/Deselect method in SVMBox

V - Delete a Message

Dynamic Diagram
  1. User clicks the Delete button in SVMBoxView
  2. SVMBoxView tells SVMBox to delete the message
  3. SVMBox deletes the message
  4. SVMBox tells SVMBoxView to update

VI - View a Message

Dynamic Diagram
  1. User double-clicks the message in SVMBoxView
  2. SVMBoxView tells SVMBox to view the message
  3. SVMBox creates the message
  4. SVMBox tells the message to display
  5. The SVMesg creates its SVMesgView
  6. The SVMesg tells the SVMesgView to update