aniatbr / spray

Automatically exported from code.google.com/p/spray
0 stars 0 forks source link

Provide ability of semantic validation in the diagrams #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

In Graphiti you can use decorators, e.g. add a warn or error marker to an 
element in the diagram when it violates certain semantic rules.

Spray should support such validations. The validation rules could be defined 
either 
 * in generated Java gap classes or
 * in the Spray DSL itself or 
 * if the domain model is Xtext based, their Java Validator might be reused

For defining decorators, the 
DefaultToolBehaviorProvider.getDecorators(PictogramElement pe) can be used. 

Original issue reported on code.google.com by de.abg.r...@gmail.com on 10 Nov 2011 at 7:02

GoogleCodeExporter commented 8 years ago
With issue#93 XtextValidationDecoratorProvider is introduced. It implements the 
newly added interface IRenderingDecoratorProvider, which can be used from Spray 
specific tool behavior providers.

Original comment by karsten....@googlemail.com on 29 Nov 2011 at 8:29