Quickly Creating Impact Analysis Diagrams
You can quickly create an impact analysis for a stereotype's model element with certain configurations for content and display by preparing it in the configuration and using it as a menu command in the New Impact Analysis context menu based on a create template.
Prerequisites
The following prerequisites must be met for the model in the Model Editor:
- You have successfully carried out an impact analysis for an element with a certain stereotype or element type.
- The content and display configurations are stored as configurations which can be used in any model.
The following prerequisites must be met for the model in the Configuration Editor:
- Due to your currently used role you have the privilege Configure
- You need to have locked the profile to be able to create or assign profile elements.
- You need to be in the right configuration view each time
- You need to select a profile element which allows the menu command you require.
- You need to adhere to the necessary editing order.
Your role you are currently using must have the execution rights for the respective create template in the Model Editor.
Context
If you have created relevant impact analysis with certain content and display configurations for analysis graphs, then you can create an appropriate create template so that you can reuse this analysis.
As subsequently described, create a create template for each preconfigured impact analysis diagram which you require for the "impactAnalysis" stereotype (included within the scope of delivery in the "Analysis" profile under "Generic Elements>Analysis Diagram"); it is best to create it in one of the imported technical customization profiles which will be used in future.
Set an impact analysis diagram's create template's stereotype as an "Applicable Start Element" if you want to make the create template available for certain elements. This uses the element as a start element via the context menu and its name is used for the analysis diagram.
Creating Customization Profiles
You only need to create a technical customization profile if one does not exist yet.
The "Analysis" profile is imported by default from the technical profiles included within the scope of delivery. A customization profile for a technical profile imports the analysis profile for a user-defined customization, as well as the profile included within the scope of delivery. If this is not the case, then you can add to the profile imports.
Creating Create Templates
Context
You need to explicitly set the reason for the content configuration and display configuration in this create template. This is done so that the values you require will appear in the respective drop-down list for the configuration. If you do not do this, then the drop-down lists will only show the entry "Default".
If these properties are not visible, then the stereotype needs to be temporarily redefined so that the properties will be temporarily shown via "Visibility in dialogs". This redefinition should then be deleted once the create templates have been created.
How to proceed
-
Jump to the
Templates view.
-
Select the "impactAnalysis" stereotype (Analysis Customization profile under Generic Elements>Analysis Diagram) in the profile tree.
-
Select Edit>Properties.
The dialog of the same name appears. The dialog is modal and can remain open.
-
If the Visibility in dialogs property is not visible, then select Edit>Redefine.
The Visibility in dialogs property becomes visible.
-
Select the Visibility in dialogs property and activate the Purpose for Content Configuration and Purpose for Display Configuration properties.
-
Click on Apply.
-
Select
Create>Create Template.
The create template is shown in the list of profile elements and selected.
-
Select Rename (F2) in the context menu.
The name can now be edited.
-
Enter a meaningful name for the analysis diagram and press [Enter].
-
Select the Properties tab below the stereotype in the Edit>Properties dialog.
-
Enter "MID.Innovator.ImpactAnalysis.Content" as Purpose for Content Configuration and "MID.Innovator.ImpactAnalysis.Display" as Purpose for Display Configuration.
-
Click on Apply.
-
Select the model-wide configuration you require as content configuration and display configuration respectively.
-
If you have redefined the "impactAnalysis" stereotype, then select the stereotype and select Edit>Redefine.
The stereotype redefinition is deleted. Deletion control lists the redefined stereotype to be deleted. Confirm the deletion.
Necessary functions are set for create templates, but these are no longer visible.
You have created the create template for the analysis diagram.
Setting Roles with Execution Rights
How to proceed
-
Jump to the
view Execution Rights to set the roles with execution rights.
-
Select the role that should be able to create the analysis diagram using the create template in the Analysis Customization profile in the profile tree.
-
Select the Create Template entry from the Menu Command drop-down list.
-
Drag the Create Template entry from the Not Assigned area and drop it on the Assigned area.
The create template is available for users with this role.
Preparing the Create Template as Menu Command
Context
You can use this step to prepare the create template as a menu command. You can use the element as a context menu command thanks to the configuration described above for the applicable start element.
How to proceed
-
To prepare the create template as a menu command, jump to the
view Menus.
-
Select the Innovator-specific> Innovator model entry form the Analysis Customization profile in the profile tree.
-
Select the Display Context entry from the Menu drop-down list.
-
Drag the Create Template entry from the Not Assigned area and drop it on the Assigned area.
The create template is stored as a context menu command.
Setting Applicable Start Elements
Context
Setting an applicable start element means that create templates for this stereotype will appear in the elements' context menu of the configured stereotype.
How to proceed
-
To assign the start element's stereotype to the impact analysis' create template, jump to the
view Relationships.
-
Select the Applicable Start Element entry in the Constraints for Relationship Role drop-down list.
-
Drag the stereotype entry for the start element used from the Not Assigned area and drop it on the Assigned area.
The create template is now available as a context menu command for elements of this stereotype.
Testing Create Templates
How to proceed
-
Jump to the model editor to test the configuration.
-
To load the current configuration, select the model root and select View>Synchronize>Reload Contents (F5).
-
If necessary, change to a role with execution rights and test the context menu command for a start element of the configured stereotype.