mirror of
https://github.com/nasa/openmct.git
synced 2025-03-27 06:08:43 +00:00
The composition policy now takes a child instance instead of the child type, as in all cases we have access to the child object. This allows new-style objects to be contained by old-style objects. Updated all composition policies to use standardized argument names instead of `context` and `candidate`; this makes it easier to understand. Updated AddActionProvider to hardcode the object types supported.
Implements support for rules which determine which objects are allowed to contain other objects, typically by type.