Define Tasks Pane Contexts
To create a context-sensitive set of Tasks Panes, you must define a set of named contexts that can be used in the definition. A named context is a «stereotype» Class which extends a «metaclass» named ToolboxContext. These elements must be owned by the same «profile» package that owns the Task Pane toolbox definitions. The context Class has one of the following attributes:
- contextDiagramType; this should have an Initial Value set to a valid diagram type
- contextItemType; this should have an Initial Value set to a valid element type
Example Context Profile
The next step is to allocate Tasks Pane contexts to Tasks Pane toolboxes.