Skip to main content



      Home
Home » Eclipse Projects » Sirius » Filters for diagram extension
Filters for diagram extension [message #1722204] Wed, 03 February 2016 06:24 Go to next message
Eclipse UserFriend
Hello,

I would like to create new filters on an existing diagram for my new viewpoint.
I cannot find how to do this as a diagram extension does not allow me to define new filters (through the odesign treeview).

How can I proceed ?

Regards,
Pierre
Re: Filters for diagram extension [message #1722241 is a reply to message #1722204] Wed, 03 February 2016 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pierre,


Le 03/02/2016 14:04, Pierre Heitz a écrit :
> Hello,
>
> I would like to create new filters on an existing diagram for my new
> viewpoint.
> I cannot find how to do this as a diagram extension does not allow me to
> define new filters (through the odesign treeview).
>
> How can I proceed ?

CompositeFilter (which produces filters in the tabbar) are children of
the DiagramDescription.

DiagramExtensionDescription can be used to provide additional layers
(with mappings and tools) to existing diagrams but not to provide
additional filters.

Currently, there is no way to contribute CompositeFilter to an existing
diagram unless you modify its DiagramDescription in the initial VSM.

This could be an interesting idea to complete the filters support by
filter provided by activated layers (which can be contributed by diagram
extension) or by diagram extension.

You might want to create a bugzilla to propose and details the need.
Nevertheless note that we have currently not planned to work on it in
the following releases.

>
> Regards,
> Pierre

Regards


--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Filters for diagram extension [message #1722370 is a reply to message #1722241] Thu, 04 February 2016 05:43 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I am also interested by that !
I hoped it was possible as I have found in the online documentation:

"A Diagram Extension can specify the Metamodels of the semantic elements it represents if it supports types of elements which were not represented in the extended diagram. Inside a Diagram Extension, you can define validation rules, filters and additional layers."
(http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#diagram_extension)

Anyway, thanks for the clear answer !
Regards,

Dimitri
Re: Filters for diagram extension [message #1722486 is a reply to message #1722370] Fri, 05 February 2016 04:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi Dimitri

Le 04/02/2016 20:09, Dimitri Cognet a écrit :
> Hello,
>
> I am also interested by that !
> I hoped it was possible as I have found in the online documentation:
>
> "A Diagram Extension can specify the Metamodels of the semantic elements
> it represents if it supports types of elements which were not
> represented in the extended diagram. Inside a Diagram Extension, you can
> define validation rules, filters and additional layers."
> (http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#diagram_extension)

Sorry for this error in the documentation: you can effectively declares
new layers and new validation rules but not filters. There is a mismatch
around filters: between CompositeFilter and Concern:
. CompositeFilterDescripion can be specified as children of a
DiagramDescription are displayed in the tabbar.
. Concern is an old concept which used to be displayed in the old ui
(without the tabbar), Specifier had the possiblity to define it as a set
of CompositeFilter, ValidationRule and BehaviorTool to activate/launch
on concern activation. This concept is no more shown to the final user.

I have just created Bug 487304 to track the issue.

>
>
> Anyway, thanks for the clear answer !
> Regards,
>
> Dimitri

Regards


--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
--
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=487304
Re: Filters for diagram extension [message #1726901 is a reply to message #1722204] Thu, 17 March 2016 07:12 Go to previous messageGo to next message
Eclipse UserFriend
On 03-Feb-16 14:04, Pierre Heitz wrote:
> Hello,
>
> I would like to create new filters on an existing diagram for my new
> viewpoint.
> I cannot find how to do this as a diagram extension does not allow me to
> define new filters (through the odesign treeview).
>
> How can I proceed ?

I was hit by this just now. I always wonder: Diagram Descriptions are
models, so maybe we can just 'extend' these original models dynamically
by updating them at runtime, in this case, just add a FilterElement.
I feel that this could potentially solve many of the current issues I
hit when extending existing diagrams. We would just need some sort of
transformation hook that would be invoked when the description is first
loaded from the .odesign file, and also verify if there are hidden
problems related to caching..

Felix
Re: Filters for diagram extension [message #1728290 is a reply to message #1726901] Fri, 01 April 2016 12:16 Go to previous messageGo to next message
Eclipse UserFriend

Thank you for your relies.

Felix, did you managed to do what you describe.
I don't actually know how to dynamically change the odesign model...
Re: Filters for diagram extension [message #1728838 is a reply to message #1728290] Thu, 07 April 2016 14:29 Go to previous messageGo to next message
Eclipse UserFriend
On 01-Apr-16 18:16, Pierre Heitz wrote:
>
> Thank you for your relies.
>
> Felix, did you managed to do what you describe.

I was just sketching some ideas.. Have no time to try something as crazy
as this.. There are lots of obstacles to make this actually work and
even then, maybe it doesn't work at all.
Re: Filters for diagram extension [message #1768574 is a reply to message #1728838] Thu, 20 July 2017 03:21 Go to previous messageGo to next message
Eclipse UserFriend
Anyone knows if this is enhancement request is tracked in bugzilla?
Re: Filters for diagram extension [message #1768578 is a reply to message #1768574] Thu, 20 July 2017 04:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
It is currently not tracked. Feel free to add a ticket.

Regards,

Pierre
Re: Filters for diagram extension [message #1768587 is a reply to message #1768578] Thu, 20 July 2017 06:34 Go to previous message
Eclipse UserFriend
https://bugs.eclipse.org/bugs/show_bug.cgi?id=519937
Previous Topic:Creating edges from the graphics area
Next Topic:Navigate from diagram to tree representation
Goto Forum:
  


Current Time: Wed Jul 23 13:38:59 EDT 2025

Powered by FUDForum. Page generated in 0.47824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top