archimatetool / archimatetool/archi
[Feature Request] Access the model tree path location of a view using Labels
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 342
- PR merge metrics
- No merged PRs in 30d
Description
Using the Label tab the view's full path can be displayed in an element, e.g. in a Note element that is part of a view summary box.
If I had a view diagram called ArchiApplication in any folder structure, such as:
```
ModelName
Views
MyFolder
ArchiApplication
```
In the ArchiApplication view I can show a Note element that gets populated with 'ModelName\Views\MyFolder' based on the usage in Label functionality.
As a suggestion on the Properties -> Label enter: $view{fullpath}
It would be better to have this as proposed. I know this can be achieved using a jArchi script but the issue is that it always has to be explicitly run each time, better to have this natively supported.
Contributor guide
Research direction
Start with the Label tab and the Properties → Label behavior, then compare the requested $view{fullpath} result with the existing jArchi script approach. The change is done when a Note element in a view can display the view's model-tree path, such as ModelName\Views\MyFolder, without rerunning a script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100