Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Dynamic Constraint Provider using Java classes(Creation of dynamic constraint providers using java classes instead of OCL)
Dynamic Constraint Provider using Java classes [message #558941] Wed, 15 September 2010 05:09
Animesh Kumar is currently offline Animesh KumarFriend
Messages: 18
Registered: September 2010
Location: Bangalore
Junior Member
I was learning to create dynamic constraint providers for my model. But i could not find any tutorials for creating dynamic constraint providers using Java constraints which extend AbstractModelConstraint.
1)Is it possible to create dynamic providers for constraints in java classes also?
I don't know anything about ocl so i would prefer using the java constraints.
2)If possible how can i do it?
Because in the ocl constraints the constraint is defined and the constraint provider parses that constraint to proceed and then adds them to the constraint list.
3) How can i retrieve my constraints in the java classes?


Regards,
Animesh
Previous Topic:[CDO / Dawn] How to programmatically delete d diagram created with dawn
Next Topic:CDO Transaction conflicts – not possible to add two object at same time by two transactions!?
Goto Forum:
  


Current Time: Thu Oct 24 01:35:56 GMT 2019

Powered by FUDForum. Page generated in 0.01230 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top