Read about changes to CIT & LumiNUS support channels.

Skip to end of metadata
Go to start of metadata

Overall Use Case Diagram

The overall use case diagram is to illustrate the scope of the project. The diagram shows the actors (both human and external systems) to be interacting with the system and all use cases identified.

Detailed Use Case Description

The detailed use case description explains the operational concepts and its associated scenario. The description of each use case includes the basic flow and alternate flows. The basic flow outlines the execution sequence and the expected outcome when it is executed successfully. The alternate flows identify the exception handlings.

UC01 - Display Suggestions

System: AutoComPaste (ACP)
Actor: User, Text Editor (External System)
Precondition: User must be in Text Editor supported by ACP.
Guarantees: Display suggestion of processed text closest to what the user entered.
MSS:

  1. User edit text in Text Editor.
  2. Text Editor send the edited text to System.
  3. System search and retrieve for the relevant suggestions.
  4. System sort and categorise suggestions according to user preferences and user past behaviours then send to Text Editor.
  5. Text Editor display suggestions according to user preferences.
    Use case end.

Extensions:

  • 3a. No suggestion is relevant to the text entered.
    • 3a1. System display according to user preferences.
      Use case end.
  • 4a. Information retrieved has too many matches found.
    • 4a1. System display nothing.
      Use case resumes from step 1.
  • a. At any time, User choose to edit text
    • a1. User edit text.
      Use case resumes from step 2.
  • b. At any time, User choose to disable auto-suggestion.
    • b1. User disable auto-suggestion.
    • b2. System turn off auto-suggestion.
      Use case end.
UC02 - Choose Suggestion

System: AutoComPaste (ACP)
Actor: User, Text Editor (External System)
Precondition: UC01 must be completed.
Guarantees: Paste the suggestion user choose to the Text Editor.
MSS:

  1. User choose suggestion displayed in UC01.
  2. System send suggestion to Text Editor.
  3. Text Editor paste the suggestion user chose.
  4. System archive information of user’s selection.
  5. User choose to paste extended suggestion (UC03)
    Use case end.

Extensions:

  • 1a. No suggestion is suitable for User.
    • 1a1. User choose nothing and exit from suggestions.
      Use case end.
UC03 - Paste Extended Suggestion

System: AutoComPaste (ACP)
Actor: User, Text Editor (External System)
Precondition: User must have chosen a suggestion.
Guarantees: Paste extended suggestion to the Text Editor.
MSS:

  1. User choose to paste extended sentence.
  2. System retrieve subsequent sentence according to user’s previous selection.
  3. System send extended suggestion to Text Editor.
  4. Text Editor paste the extended suggestion.
  5. System archive information of user’s selection.
    Use case goes to step 1 until user stop extending suggestion.

Extensions:

  • 1a. User wants to have extended paragraph suggestion.
    • 1a1. User choose to paste extended paragraph.
    • 1a2. System retrieve subsequent paragraph according to user’s previous selection.
      Use case resumes at step 3.
  • 1b. User wants to have extended word suggestion.
    • 1b1. User choose to paste extended word.
    • 1b2. System retrieve subsequent word according to user’s previous selection.
      Use case resumes at step 3.
  • 1c. User wants to remove extended suggestion.
    • 1c1. User choose to remove extended suggestion.
    • 1c2. System process removal and send request to Text Editor.
    • 1c3. Text Editor remove the suggestion.
      Use case end.
UC04 - Edit User Preferences

System: AutoComPaste (ACP)
Actor: User
Precondition: User must choose to edit user preferences.
Guarantees: Save preferences that user chose.
MSS:

  1. User select the desired preferences.
  2. User choose to save preferences.
  3. System update user preferences.
    Use case end.

Extensions:

  • 2a. User do not want to save preferences.
    • 2a1. User choose not to save preferences.
      Use case end.
  • No labels