Appboard/old/actions/change diagram context: Difference between revisions
imported>Jason.nicholls |
imported>Jason.nicholls |
(No difference)
|
Revision as of 15:41, 17 July 2014
The "Change Diagram Context" Action was created for the Diagrammer Widget for users to change the model of the diagram in the Widget without having to create a separate Widget for separate models.
How To Create a Change Diagram Context Action
For instructions on adding an Action to a Widget, see the general instructions in How To Create an Action in a Widget.
How To Configure a Change Diagram Context Action
Perform the following steps to configure a "Change Diagram Context" Action:
- Follow the instructions above to create the basic "Change Diagram Context" Action using a Diagrammer Widget.
- Enter the following information on the Actions configuration panel in the Widget Wizard:
- Name: The label for this Action. A default label is automatically provided.
- On selection of:
- Select "any" or "specific" for the type of data selection by the User that will trigger the Action. If you select "specific", you must do the following:
- Click the Filter button. The Filter Editor is displayed.
- Click Add Rule to create one or more rules that indicate what data should trigger the Action, when selected.
- Click Finish to save the Filter settings.
- Select the Data Source name. When the Widget is run, selection of data in this Data Source will trigger the Action.
- Select "any" or "specific" for the type of data selection by the User that will trigger the Action. If you select "specific", you must do the following:
- Change Diagram Widget: Select the name of the Diagrammer Widget that will be changed with this action.
- Select either "To use Diagram Model:" or "To use Diagram Model by name from selected property:"
- Select "To use Diagram Model:" to choose the previously created model you would like the Diagram to change to.
- Select "To use Diagram Model by name from selected property:" to choose a property.
- Click "Finish" to complete the creation of a "Change Diagram Context" Action.
Sample Use Case
When showing a network diagram, one might want to have some subnet nodes that when clicked cause the diagrammer to switch to a new diagram depicting the subnet graph -- acting like a topology drill in.