Mod Prints

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Mod Prints as PDF for free.

More details

  • Words: 423
  • Pages: 4
Class diagram: GUI JButton() JCheckbox() JPanel() JTextField() doOpenButton() doSaveButton() doCancelButton() doOpenRunner()

uses gui components

FileSearch checkbox textbox buttons setText() getText() Pattern getPattern() getMatches() pattern specification to search

user required gui components are added

User Search engine setMode() setPattern() giveParameters() setText()

depends on reults

processUnknownFile() processFileOrFolder() getPattern()

Description: Class diagram in the Unified Modeling Language (UML), is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, and the relationships between the classes. A class is a representation of an object and, in many ways, it is simply a template from which objects are created. Classes form the main building blocks of an object-oriented application. the class diagram is to show the types being modeled within the system. In most UML models these types include: 1)a class 2)an interface 3)a data type 4)a component.

Usecase diagram:

provide search criteria

perform searching operation

set parameters for searching operation user

<>

<>

subfolders/hidden

search engine

set text

display results

save results to log file

specify drive/folder to save log file

Description: The requirements document specifies that the user provides search criteria, the system identifies matches and returns them to the search user. One import note is that this is an API. The Search User is not really a person, but is a system implementing the API.

Sequence diagram: u:user

ui:userinterface

s:search engine

provide the pattern or file to be searched

display modes of searh

select the modes of search

specify folder/drive to be searched providing mode and parameters

give results display results

specify path of log file to be saved

event generated and pass parameters

saves files in the specified path

perform search operation

Collaboration diagram:

1: provide the pattern /file to be searched 2: display modes of search 4: specify folder/drive to be searched 9: specify path of log file to be saved user

user interface 3: select the mode of search 8: display results

7: give results 11: saves file in the specified path

5: providing mode and parameters 10: event generated and pass parametres

6: perform search operation

search engine

Description: This collaboration diagram focuses on search engine.Here the flow of sequence among the user,search engine and the user interface is shown. When the user specifies patterns, and modes of search then user interface takes the selected modes given by the user ,then search engine performs search operation and displays results to the user through user interface.Once search is completed user specifies the path where log file should be created which stores results.

Related Documents

Mod Prints
May 2020 3
Mini-prints
October 2019 20
Max2_invoice-prints
July 2020 1
Big Prints
July 2020 2
Mod
May 2020 29
Mod
June 2020 20