Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Quick Linker Example
If you want to create a Quick Linker definition, it is easiest to set it up in a spreadsheet with each menu item definition constructed across a row, as in the example below:
The first row of the example is a comment line identifying the column headings. The subsequent lines define the connector/target element options for a Class element with the stereotype �quick�. When a connector is dragged away from an element of this type, you want the user to create a Dependency either to or from a Component element. When they drag a connector onto an existing Port or Component element, you want a Dependency either to or from the Component or, in the case of a Component, you want the user to be able to create an embedded Port element.
These requirements are defined in eight records in the Quick Linker definition file:
1. | Dependency to new Component |
2. | Dependency from new Component |
3. | Dependency to existing Component |
4. | Dependency from existing Component |
5. | Dependency to existing Port |
6. | Dependency from existing Port |
7. | Dependency to existing Component, create new Port |
8. | Dependency from existing Component, create new Port |
The records save to the following CSV file:
Class,quick,,,,Component,,Dependency,,to,,Dependency to,TRUE,TRUE,TRUE,TRUE,Component,0,,,,,
Class,quick,,,,Component,,Dependency,,from,,Dependency from,TRUE,TRUE,TRUE,TRUE,Component,0,,,TRUE,,
Class,quick,Component,,,,,Dependency,,to,Dependency to,,TRUE,,TRUE,TRUE,,0,,,,,
Class,quick,Component,,,,,Dependency,,from,Dependency from,,TRUE,,TRUE,TRUE,,0,,,TRUE,,
Class,quick,Port,,,,,Dependency,,to,Dependency to,,TRUE,,TRUE,TRUE,,0,,,,,
Class,quick,Port,,,,,Dependency,,from,Dependency from,,TRUE,,TRUE,TRUE,,0,,,TRUE,,
Class,quick,Component,,,Port,,Dependency,,to,,Dependency to,TRUE,TRUE,TRUE,TRUE,Port,0,,TRUE,,,
Class,quick,Component,,,Port,,Dependency,,from,,Dependency from,TRUE,TRUE,TRUE,TRUE,Port,0,,TRUE,TRUE,,
If you want to test the effect, you can create the following Profile and cut and paste the above CSV lines into the QuickLink Document Artifact element.
Learn more