SettingsJson - Helmut-Ortmann/EnterpriseArchitect_hoTools GitHub Wiki

Settings.json

The file Settings.json contains specifications you may change with a text editor.

With the File Menu you can edit:

  • (current) The current Settings.json (active)
  • (delivery) The delivered Settingss.json

If you change the Settings.json you have to:

  • Restart EA or
  • Settings.json update

to let hoTools know about the changes.

If you have made a mess or you want restart with the deliverd settings:

  • Reset factory settings

Structure

The Settings.json has to apply to standard JSON rules. There are some extensions according to Json.NET - Newtonsoft. The most important extension is that it allows comments.

The file is structered in the following Chapters:

Features

Examples

{ // Functional Requirements, Counter for name
  "ObjectType": "Requirement",
  "Stereotype": "FunctionalRequirement",
  "SqlTopMost": "select top 1 t1.Object_ID from t_object t1 where t1.object_Type = 'Requirement' AND t1.stereotype = 'FunctionalRequirement' AND t1.name like 'F_*' AND NOT t1.name like 'FunctionalRequirement*' order by t1.name desc",
  "SqlTopMostAlias": "",
  "NumberProxyChar": "0",
  "NumberStartValue": "1",
  "FormatString": "F_0.00.0.0"
},
{
  "ObjectType": "Requirement",
  "Stereotype": "BusinessRequirement",
  "SqlTopMost": "",
  "SqlTopMostAlias": "select top 1 t1.Object_ID from t_object t1 where t1.object_Type = 'Requirement' AND t1.stereotype = 'BusinessRequirement' AND t1.alias like 'F_*' AND NOT t1.alias like 'FunctionalRequirement*' order by t1.alias desc",
  "NumberProxyChar": "0",
  "NumberStartValue": "99",
  "FormatString": "F_0.00.0.0"
},
{
  "ObjectType": "Risk",
  "Stereotype": "",
  "SqlTopMost": "select top 1 t1.Object_ID from t_object t1 where t1.object_Type = 'Risk' AND t1.stereotype = NULL AND t1.name like 'R:*' AND NOT t1.name like 'Risk*' order by t1.name desc",
  "SqlTopMostAlias": "",
  "NumberProxyChar": "0",
  "NumberStartValue": "3",
  "FormatString": "R:0.00.0.0"
},
{
  "ObjectType": "Feature",
  "Stereotype": "",
  "SqlTopMost": "",
  "SqlTopMostAlias": "select top 1 t1.Object_ID from t_object t1 where t1.object_Type = 'Feature' AND t1.stereotype = NULL AND t1.alias like 'FE:*' AND NOT t1.alias like 'Feature*' order by t1.alias desc",
  "NumberProxyChar": "4",
  "NumberStartValue": "1",
  "FormatString": "FE:4.44.4.4"
}
]

References