Define Tasks Pane Contexts

Return to Introduction  Previous page  Next page

Named Contexts

In order 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 a «profile» package, specifically 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
·contextKey.

Example Context Profile

TaskPaneContexts

Next Step

The next step is to allocate Tasks Pane contexts to Tasks Pane toolboxes.