|Re: How to run a Validation Plugin? [message #1454639 is a reply to message #1453998]
||Tue, 28 October 2014 16:01
|| Christian Damus
Registered: July 2009
The first thing to check is that the framework has found your
constraints at all: do they appear in the Validation preference page,
which allows the user to selectively disable constraints (exclude them
After that, if the generated plug-in includes an implementation of the
client selector protocol for a custom client context extension on the
constraintBindings extension point, you might put a breakpoint in it to
determine whether it is invoked and, if so, why it is not matching
elements of your profiled models. I'm not familiar enough with the
DSML Validation code generation to know whether this is something that
is generated that you can debug.
On 2014-10-27 20:38:44 +0000, Luís de Sousa said:
> Christian W. Damus wrote on Sun, 26 October 2014 04:27
>> So, just validate your model with the usual context-menu actions and
>> see what problems turn up.
> Thank you Chirstian for the clarification.
> I created a simple profile to test this feature (Vehicles.svg). Then
> generated the validation plug-in and installed it. Afterwards I created
> a model and applied the profile to it (Bike.svg). Although the model
> does not respect the constraint defined in the profile, the validation
> shows no errors.
> Is there any way to make sure the plug-in is being invoked?
> Thank you.
Powered by FUDForum
. Page generated in 0.02072 seconds