|
Re: Filters for diagram extension [message #1722241 is a reply to message #1722204] |
Wed, 03 February 2016 15:15 |
|
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 #1722486 is a reply to message #1722370] |
Fri, 05 February 2016 09:13 |
|
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
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02942 seconds