To change
the way specific types of elements are handled,
you modify the properties that control simplification. For each type
of model element, there is a property that determines how it will
be handled
during the transformation of the model, for example, Simplify, SimplifyConstructors,
and SimplifyDestructors.
Each
of these properties
can take
any of
the following values. Note that these values might not appear for
every Simplify property.
- None means
that the element is ignored in
the simplified model.
- Copy means that
the element is just copied
from the original to the simplified model. It is not modified in any
way.
- Default uses the standard simplification
for this item, as defined in IBM® Rational® Rhapsody®.
- ByUser uses the customized simplification
provided by the user.
- ByUserPostDefault uses
the customized simplification
provided by the user, but only after the Rational Rhapsody standard
simplification for the element has been applied.
You can
customize the simplifiers using the Simplify properties.
You can add user-customized simplifiers by using pre-defined extension
points (also known as "hooks"). Custom simplifiers manipulate the
code model using standard model APIs. Primary elements, such as classes,
attributes, operations, and so on, have pre-defined simplifier hooks
(for example, C_CG::Attribute::Simplify and C_CG:Configuration:SimplifyMainFiles).