In this lesson, you divide a profile tooling palette.
Based on the model and profile constructs that you created
in Lesson 1, the default palette should contain two stereotypes: <A>
Actor and <B> Actor. The association between <A> Actor and <B>
Actor appears as Ab. In this lesson, instead of using this default
ordering, you divide the palette into two: one palette for the actor
stereotypes, and one palette for the association between them.
Restriction: It is important to remember that the various palette
elements relate to each other in a specific manner. For instance,
a palette (<<Palette>>) may contain palette drawers (<<PaletteDrawer>>).
A palette drawer may contain palette entries (<<PaletteCreationToolEntry>>)
and palette stacks (<<PaletteStack>>). A palette stack may contain
palette entries.
When customizing the profile tooling palette, it is possible to create relationships between the various
palette elements that do not conform to the constraints listed above.
No validation is provided, either during customization, or during
the profile tooling code generation. Therefore, it is important to
maintain the correct relationships between palette drawers, palette
stacks, and palette entries in order to create valid code and avoid
exceptions during code generation.
To divide the palette
into two palettes: