Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] Workaround for Bug 353252

Thanks. I will wait for this bug fix to add validations then.

On 8/5/2011 1:31 PM, Konstantin Komissarchik wrote:

I cannot think of a way to do that right now. The only reason this is working for you with element properties is that you are referencing the element property in a with construct in the section. It’s the validation status of the with part that is contributing to the validation of the node.

 

More on this here…

 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=329076

 

- Konstantin

 

 

From: sapphire-dev-bounces@xxxxxxxxxxx [mailto:sapphire-dev-bounces@xxxxxxxxxxx] On Behalf Of Ling Hao
Sent: Friday, August 05, 2011 1:19 PM
To: Sapphire project
Subject: [sapphire-dev] Workaround for Bug 353252

 

I'm trying to implement a workaround for Bug 353252 - Support dynamic list of child element types.

I added new service which extends ModelPropertyValidationService. This works fine for ModelElementHandle (ie heterogeneous element property), but not for ModelElementList. The validation service is getting called and an error status is returned. But the error is is not displayed anywhere. Any suggestions on how I can validate a ModelElementList?

Thanks,
Ling

_______________________________________________ sapphire-dev mailing list sapphire-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/sapphire-dev

Back to the top