archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
964 stars 269 forks source link

[Feature Request] Ability to set folders/views to be non-editable #493

Open kaiserghetto opened 5 years ago

kaiserghetto commented 5 years ago

I don't think this was submitted, so I'm taking cue from this post on the forum: https://forum.archimatetool.com/index.php?topic=683.msg3873#msg3873

Any way (or any plug-in) to make views such that if set then Archi would not allow elements from the palette to be added or moved, hence 'locking' a view from further manual modifications Also, the ability to apply this recursively to all sub-folders and views if set at folder level.

I'm guessing this can be achieved by setting up a special "locked" property in the view that Archi can act on?

Phillipus commented 5 years ago

I'm guessing this can be achieved by setting up a special "locked" property in the view that Archi can act on?

Plus a whole lot more code related to every aspect of Archi - drag and drop, copy and paste, view editors, undo/redo, folders, models tree, palette, global properties edit, links to views, deleting concepts, scripting, testing and so on. It would require a deeper analysis of what's involved and its impact. Not something that can happen easily. Possible, yes, but needs more work at the core than might be immediately obvious. ;-)