|Re: Subcontainer without semantic element [message #1416078 is a reply to message #1415381]
||Thu, 04 September 2014 09:22
| Alex Lagarde
Registered: May 2010
not sur I understand your question :
- If you want to customize the validation behavior, you can register you
own EValidator (standard emf validation) or add Validation Rules  in
- If you want to customize the decorator
(SiriusValidationDecoratorProvider) I'm not sure this is possible. It is
contribued by the org.eclipse.sirius.diagram.ui plugin through the
org.eclipse.gmf.runtime.diagram.ui.decoratorProviders extension point.
Le 02/09/2014 18:42, Axel Guckelsberger a écrit :
> Hi Alex,
> thanks for your advice.
> Do you see any possibility to customise the validation marker's behaviour?
> Alex Lagarde wrote:
>> Hi Axel,
>> indeed, Node & Container Mappings must be associated to a semantic
>> element. So the solution you used (using a sub-container with [self/] as
>> Semantic Candidate Expression) is the best one I can imagine.
>> Le 30/08/2014 10:29, Axel Guckelsberger a écrit :
>>> Hi all,
>>> is it possible to have a container (just for grouping sub elements)
>>> without a dedicated metamodel element?
>>> Example use case: a class contains fields and operations. When using a
>>> VerticalStack layout it is desired to have containers for these child
>>> elements instead of having only a class container and direct sub nodes
>>> for fields and operations.
>>> My intermediate solution for this is using sub containers which have
>>> [self/] as semantic element assigned. This works fine except that
>>> validation markers appear on both the class container as well as the
>>> child containers.
>>> Thus my question is how this could be improved.
Alex Lagarde - Obeo
Need professional services for Sirius?
Powered by FUDForum
. Page generated in 0.03174 seconds