– Chuyển WordSpace : File / Switch WorkSpace / Other …

LAB 2

  • Add a Elements —> a Diagram —> a Model —> a Project
  • Apply a pattern in a model
  • Perform a transformation

Task 1: Change WorkSpace

Task 2: Create a UML Project and Model

File / New / Project / UML Project / Name = “Lab2” / Next / Name = “GettingStartProject” / Choise (Model / Class Diagram / Create default diagram…) / Finish

Task 3: Apply a Pattern in a Model

– Window / Show View / Pattern Explorer / Choise Facade (Keo)

– Right (GettingStartProject) / Add UML / Class / … Dat ten …
– Keo tung Class vao Partern
– Keo tat ca vao Blank

Task 4: Apply a UML-to-Java Transformation

– Choise 4 Parterns / Modeling / Transform / Create Configuration / Name / Choise UML to Java
– Create Target Container / Name / Finish
– Choise Create trace relationships / Run
– Expand My Transformation.src.default / Drap 4 pieces into Blank

– File Save All

LAB 3

  • Configure the RUP Process Advisor
  • Load a use-case model + Addassociateddocuments
  • Transform a use-case model into an analysis model
  • Partition a model to support team development
  • Import andexport sharedprojects using Project Interchange
  • ACMEPayrollRequirements.zip + UseCasetoAnalysis.ras

Task 1: Create the Workspace

DEV496\Student Work\Lab 3 workspace

Task 2: Configure the RUP Integration

– Windows / Preferences / Other / Process / Check All / OK
– Windows / Show View/ Other / Process / Process Advisor
– Windows / Save Perspective As … / Modeling (default)
– Help / Process Browse / Search “design elements

Task 3: Import the Use-case Model

– TIP : Help / Process Browser / Developer Tab / Expand “Tool Mentors” / Rational Software Architect.
– File / Import / Other / “Project Interchange” / Browse to “ACMEPayrollRequirements.zip” / Check / Finish
– Expand Project Explorer

Task 4: Add Requirements Documents to the Use-case Model 

– DEV496\Case Study\Artifacts folder
– Project Explorer / Expand “Model” / Right (Acme Payroll …) / Add UML / URL / Browse File

Task 5: Import the Use-case to Analysis Transformation

– Window / Open Perspective / RAS
Window / Show View / Asset Explorer
– Window / Preferences / General / Capabilities / Enable All / OK
– Right (Patterns Repository) / New / Repository / Local Repository / Next / Browse “DEV496\Student Work\Local Repository” (Tao thu muc) / Finish
– Copy the UseCasetoAnalysis.ras file from the DEV496\Inputs folder to the repository location.
– Right (Use Case to Analysis) / Import
– Switch WorkSpace

Task 6: Generate Analysis Model 

Task 7: Partition the Analysis Model

Task 8: Export to Project Interchange