archi
archi copied to clipboard
Specializations: support for definitions (and hints)
When creating a specialisation it is important for the modeller to know what that specialisation means but currently there is no facility to add a description to the specialisation. It would be useful to be able to create a description to ensure that all modellers are working from the same definition when using it. Additionally support for hints could give the option of using this to display the description in the hints window or a separate HTML file that would allow the inclusion of examples for the modeller to follow. I suppose this could be regarded as part of the functionality that would be required if Archi were to implement UML style profiles.
Tools like Rhapsody do this by creating profile packages (that can be created in the tool) where you can manage the specialisations, this mechanism makes for simple ways to apply a standard profile to multiple models but I realise may be difficult to implement in Archi.
Summary:
- Add a documentation field to a
Profile(implementIDocumentable) - Expose this in the Hints window - problematic as it would need to implement
IHelpHintProviderwhich is in thecom.archimatetool.helpplug-in and would lead to circular dependency. Would require refactoring... - Would need to also expose this in Jasper and HTML reports
problematic as it would need to implement IHelpHintProvider which is in the com.archimatetool.help plug-in and would lead to circular dependency. Would require refactoring...
I've looked at the Hints framework and refactored it so that it's usable more generally now - no dependency on the com.archimatetool.help plug-in or limited to Canvas objects for user hints.
Summary:
- Add a documentation field to a
Profile(implementIDocumentable)- Expose this in the Hints window - problematic as it would need to implement
IHelpHintProviderwhich is in thecom.archimatetool.helpplug-in and would lead to circular dependency. Would require refactoring...- Would need to also expose this in Jasper and HTML reports
I'd suggest to keep this for another release of Archi for the following reasons:
- Adding a documentation field would be great but raises the risk of conflicts with coArchi and I would prefer managing this in coArchi2. Plus it would impact model import feature.
- I'm not sure hints would be useful because I don't see when they would be visible: at the moment we show the hint for the ArchiMate type and I don't think showing specialization's hint instead is the right thing to do.
I suppose this could be regarded as part of the functionality that would be required if Archi were to implement UML style profiles.
ArchiMate profiles (named set of attributes) are not at all equivalent to UML profiles (named set of specialization)
Tools like Rhapsody do this by creating profile packages (that can be created in the tool) where you can manage the specialisations, this mechanism makes for simple ways to apply a standard profile to multiple models but I realise may be difficult to implement in Archi.
That's in fact already possible in Archi 4.9.0: simply create a model which only contains definition for specialization and import in into other models.
I'd suggest to keep this for another release of Archi
Agreed.