Prev | Next |
Dynamic Viewpoints Toolbox
The Dynamic Viewpoints page of the Diagram Toolbox provides a number of elements that actively refresh the interface to Enterprise Architect and the information it displays within various contexts. For example, Working Sets apply a required combination of dialogs and screens, whilst Scriptlets execute JavaScript code to update element displays and properties according to the latest changes to the model data.
Types of Dynamic ViewPoint Artifact
Type |
Description |
See also |
---|---|---|
Scriptlet Artifact |
A Scriptlet Artifact provides access to Enterprise Architect's API to help you:
You can have multiple Scriptlets on a diagram and you can use the same Scriptlet on multiple diagrams. Simply drag and drop the Scriptlet icon onto a diagram, then double-click on the element to open the Code Editor. The JavaScript code attached to the Scriptlet is run whenever the diagram is opened. You can also run the Scriptlet code manually as required. |
|
Model View Artifact |
A Model View Artifact provides the facilities for generating a tabular Model View Chart on a segment of the data in your model, extracted using a custom SQL search. After you have added the element to your diagram, double-click on it. The element 'Properties' dialog automatically opens at the 'Chart Details - Source' tab. Define the SQL Search to extract and tabulate the information. Once you have defined the Chart, it automatically displays with the latest information whenever you open the parent diagram. |
Define a Model View Chart |
Custom Table Artifact |
A Custom Table Artifact generates a diagram object that displays custom data in a grid format similar to a spreadsheet, providing extra 'non-modeled' information on elements, diagrams or project management exactly where it is applicable. |
Custom Table Artifact |
Working Set Artifact |
A Working Set Artifact defines a Working Set that opens various windows, diagrams and views, recreating a work environment that you frequently use.
|
Working Sets |