package Ġio . github . s api ent p ants . struct ur izr . macros . documentation Ċ Ċ import Ġcom . struct ur izr . Workspace Ċ import Ġcom . struct ur izr . documentation . View points And Pers pect ives Documentation Template Ċ import Ġcom . struct ur izr . model . Software System Ċ import Ġjava . io . File Ċ Ċ /** Ċ Ġ* ĠMacro Ġto Ġinclude ĠView points Ġand ĠPers pect ives Ġdocumentation Ġin Ġthe Ġworkspace . Ċ Ġ* Ċ Ġ* ĠNote : ĠThis Ġwill Ġonly Ġwork Ġwith Ġthe ĠStruct ur izr Renderer Ċ Ġ* Ċ Ġ* Ġ@ see ĠStruct ur izr Renderer Ċ Ġ*/ Ċ internal Ġobject ĠView points And Pers pect ives Documentation Ġ{ ĊĠĠĠ Ġprivate Ġconst Ġval ĠDEFAULT _ SOURCE _ PATH Ġ= Ġ"./ src / main / markdown / view points and pers pect ives " ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠAdd ĠView points Ġand ĠPers pect ives Ġdocumentation Ġto Ġthe Ġworkspace . ĊĠĠĠĠ Ġ* Ġ@ params Ġworkspace Ġthe Ġworkspace Ġto Ġwhich Ġthe Ġdocumentation Ġis Ġto Ġbe Ġadded ĊĠĠĠĠ Ġ* Ġ@ params Ġsoftware System Ġthe Ġsystem Ġof Ġinterest ĊĠĠĠĠ Ġ* Ġ@ see Ġcom . struct ur izr . documentation . View points And Pers pect ives Documentation Template ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun ĠaddTo Workspace ( ĊĠĠĠĠĠĠĠ Ġworkspace : ĠWorkspace , ĊĠĠĠĠĠĠĠ Ġsoftware System : ĠSoftware System , ĊĠĠĠĠĠĠĠ Ġsource Path : ĠString Ġ= ĠDEFAULT _ SOURCE _ PATH ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtemplate Ġ= ĠView points And Pers pect ives Documentation Template ( workspace ) ĊĊĠĠĠĠĠĠĠ Ġval Ġdocumentation Root Ġ= ĠFile ( source Path ) ĊĠĠĠĠĠĠĠ Ġtemplate . add Introduction Section ( software System , ĠFile ( documentation Root , Ġ" 0 1 - introduction . md ")) ĊĠĠĠĠĠĠĠ Ġtemplate . add G lossary Section ( software System , ĠFile ( documentation Root , Ġ" 0 2 - glossary . md ")) ĊĠĠĠĠĠĠĠ Ġtemplate . add System Stake holders And Requirements Section ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsoftware System , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFile ( documentation Root , Ġ" 0 3 - system - stake holders - and - requirements . md ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġtemplate . add Arch itect ural For ces Section ( software System , ĠFile ( documentation Root , Ġ" 0 4 - architect ural - forces . md ")) ĊĠĠĠĠĠĠĠ Ġtemplate . add Arch itect ural Views Section ( software System , ĠFile ( documentation Root , Ġ" 0 5 - architect ural - views ")) ĊĠĠĠĠĠĠĠ Ġtemplate . add System Qual ities Section ( software System , ĠFile ( documentation Root , Ġ" 0 6 - system - qual ities . md ")) ĊĠĠĠĠĠĠĠ Ġtemplate . add Append ices Section ( software System , ĠFile ( documentation Root , Ġ" 0 7 - append ices . md ")) ĊĠĠĠ Ġ} Ċ } Ċ