Skip to content
nullsub edited this page Nov 22, 2016 · 28 revisions

A summary of all rules used in FRaMED for EditPolicies

Trivial Pallete Entry Rules https://github.com/leondart/FRaMED/wiki/Palette-Entry-Visibility#step-in-table

Description EditPolicy Code
When FULFILLMENT is set, show FULFILLMENT in pallete entry FULFILLMENT -
- - -

More Complex rules

Description EditPolicy Code
When COMPARTMENT is not set, only RoleModel can be added - -
If Compartment c1 contains Compartment c2 then all roles in c1 can play other roles - -
when the parent of a model is a compartmenttype or a rolegroup only roletype and rolegroup instances can be added - -
when the parent of a model is a group or the model is the root model than only naturaltype, compartmenttype and group instances can be added to the model - -

Advanced rules

Description EditPolicy Code
Check entity names with regular expression - -

Clone this wiki locally