|
|
Re: Showing just one edge out of many edges [message #1802647 is a reply to message #1802606] |
Wed, 13 February 2019 09:29 |
|
Neil Mackenzie wrote on Tue, 12 February 2019 18:14
I considered that one solution may be to show all the edges and then make a mapping filter with View Condition Expression that hides all edges not connected to the selected cell, is it possible to do this?
It's not possible directly because in the expressions defining the mapping or filters you do not have access to the selection (and even if they had, they would not be refreshed/recomputed on every selection change). However you can probably create a custom action (using the standard Eclipse mechanisms) that could be invoked on a cell, which would programmatically hide all the irrelevant edges on the diagram by invoking org.eclipse.sirius.diagram.tools.api.command.view.HideDDiagramElement.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.58591 seconds