Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Filters for diagram extension
Filters for diagram extension [message #1722204] Wed, 03 February 2016 11:24 Go to next message
Pierre Heitz is currently offline Pierre HeitzFriend
Messages: 3
Registered: February 2016
Junior Member
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 15:15 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
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


Maxime Porhel - 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 10:43 Go to previous messageGo to next message
Dimitri Cognet is currently offline Dimitri CognetFriend
Messages: 1
Registered: February 2016
Junior Member
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 09:13 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
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


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Filters for diagram extension [message #1726901 is a reply to message #1722204] Thu, 17 March 2016 11:12 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
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 16:16 Go to previous messageGo to next message
Pierre Heitz is currently offline Pierre HeitzFriend
Messages: 3
Registered: February 2016
Junior Member

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 18:29 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
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 07:21 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
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 08:29 Go to previous messageGo to next message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi,
It is currently not tracked. Feel free to add a ticket.

Regards,

Pierre


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Filters for diagram extension [message #1768587 is a reply to message #1768578] Thu, 20 July 2017 10:34 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
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: Thu Mar 28 17:32:05 GMT 2024

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

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

Back to the top