Hide Default Quick Linker Settings
If you create your own Quick Linker definition for an element, you might want to hide the default UML Quick Linker options between the given source and target elements. How you do this depends on whether you are using the metamodel definition method or the spreadsheet definition method to define your Quick Linker links.
In the <<metaclass>> element for each source stereotype element, add the attribute _HideUmlLinks set to "True" so that quicklinks with this stereotype as the source element will not include quicklinks inherited from the base UML metaclass.
Firstly, you can hide the default UML Quick Linker options by setting the 'Exclusive to stereotype' flag (column P) to True, in the definition CSV file, on each row as required.
Alternatively, you might want to hide the default Quick Linker options without having a replacement custom option. For example, normally if you don't define any Quick Links for one «quick» Class to another «quick» Class, the Quick Linker arrow displays the default Quick Links for one Class to another Class. To override this behavior, create a Quick Linker definition in which you set the:
- Source Element Type (column A)
- Source Stereotype (column B)
- Target Element Type (column C)
- Target Stereotype Filter (column D)
- New Link Type (column H) to <none>
- Exclusive to ST Filter + No inherit from Metatype (column P) to TRUE
Try adding this line to the Quick Linker Example:
With this line in the definition, when a Quick Link is dragged from a «quick» Class to an Interface element, the default Class-to-Interface Quick Links are hidden.
Note that this technique does not affect the automatic appearance of 'Dependency', 'Trace', 'Information Flow' and 'Help' options on the Quick Linker menu