Filter variable filter [message #1821144] |
Thu, 06 February 2020 05:23  |
Eclipse User |
|
|
|
Hello,
I have a diagram that have as the diagram.target an element that can have an infinite number of sub elements.
I can create the diagram from any of these sub elements.
I'm trying to implement a variable filter to hide the subs elements of the diagram. The user should be able to enter the level of elements that have to be hidden. The level 0 is the level of the element (they are nodes) on the diagram and not in the whole model.
So I need to to access diagram.target in the semantic condition expression of the variable filter to subtract the level in the model to the level in the diagram.
Also, in an other diagram I would like to hide with the level of a container view, is there a variable to get the view of the element in the semantic condition expression of the variable filter ?
Thanks
|
|
|
|
Re: Filter variable filter [message #1821448 is a reply to message #1821294] |
Thu, 13 February 2020 03:55  |
Eclipse User |
|
|
|
Hi Steve,
About 1, I saw the pop up thing but needed to filter with the level of containment starting from the element that initialized the diagram and not the semantic level.
For example if the user enter 1 and the diagram is initialized with a sub element of semantic depth 3, it should filter all the sub elements of semantic depth 4.
Since the elements that are of semantic depth 1,2,3(except the element that initialized the diagram) will not be shown.
So the java service will solve both my issues, and I'm sure it will be useful for other situations,
Thanks you very much.
|
|
|
Powered by
FUDForum. Page generated in 0.05516 seconds