Prev | Next |
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.
Metamodel Method
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.
Spreadsheet Method
Firstly, you can hide the default UML Quick Linker options by setting the 'Exclusive to stereotype' filter 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 stereotype + No inherit from Metatype (column P) to TRUE
Try adding this line to the Quick Linker Example:
Class,quick,Interface,,,,,<none>,,,,,,,,TRUE,,0,,,,,
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 the 'Exclusive to stereotype' filter hides all context-sensitive relationships that do not have this filter set, and this will take effect wherever a source element stereotype has been defined.