Home » Modeling » Papyrus » OCL constraints Extension point
| | | | | |
Re: OCL constraints Extension point [message #1014193 is a reply to message #1011810] |
Mon, 25 February 2013 10:37 |
Walid Ban Messages: 53 Registered: January 2013 |
Member |
|
|
Hi,
Thank Ed for all your Help!
As i said before, my purpose is to create and validate OCL constraints and as Papyrus doesn't support OCL constraints validation until now, i tried to found another solution!
I tried to use Papyrys M5 (Eclipse Kepler)as you said, probably the validation works, but i found that it doesn't support the Palette customization Extension point. (http://www.eclipse.org/forums/index.php/t/457022/). so, i didn't even think to try if OCL validation works or not
So, probably, fixing this bug takes time and unfortunately, i don't have so much time..
So, i want to apply the other solution: "org.eclipse.emf.validation.constraintProviders" Extension Point
Could you advice me please:
- If i must modify the Papyrus source code and go for example to "/Papyrus_Branch_0.9.X/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz", open the Plugin XML file, and Add "org.eclipse.emf.validation.constraintProviders" Extension Point and put the constraints...
- Or create an empty plugin project, open the XML file Add "org.eclipse.emf.validation.constraintProviders" Extension Point and put the constraints. After that, export and install the plugin.
I didn't find any Tutoriel of what and how exactely to do, i found only what to write inside the XML file (inside the markers category, constraints, constraints,...)
I hope that you unserdtand me..Could you Help me please....?
|
|
|
Re: OCL constraints Extension point [message #1014219 is a reply to message #1014193] |
Mon, 25 February 2013 11:40 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
Hi
I'm sorry, but if you want to work to backport new functionality, you
must do it yourself. It will not be easy and I do not have time to help
in what I consider to be a foolish enterprise.
Regards
Ed Willink
On 25/02/2013 10:37, Walid Ban wrote:
> Hi,
> Thank Ed for all your Help!
> As i said before, my purpose is to create and validate OCL constraints
> and as Papyrus doesn't support OCL constraints validation until now, i
> tried to found another solution!
> I tried to use Papyrys M5 (Eclipse Kepler)as you said, probably the
> validation works, but i found that it doesn't support the Palette
> customization Extension point.
> (http://www.eclipse.org/forums/index.php/t/457022/). so, i didn't even
> think to try if OCL validation works or not :? So, probably, fixing
> this bug takes time and unfortunately, i don't have so much time..
>
> So, i want to apply the other solution:
> "org.eclipse.emf.validation.constraintProviders" Extension Point
> Could you advice me please:
>
> - If i must modify the Papyrus source code and go for example to
> "/Papyrus_Branch_0.9.X/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz",
> open the Plugin XML file, and Add
> "org.eclipse.emf.validation.constraintProviders" Extension Point and
> put the constraints...
>
> - Or create an empty plugin project, open the XML file Add
> "org.eclipse.emf.validation.constraintProviders" Extension Point and
> put the constraints. After that, export and install the plugin.
>
> I didn't find any Tutoriel of what and how exactely to do, i found
> only what to write inside the XML file (inside the markers category,
> constraints, constraints,...)
>
> I hope that you unserdtand me..Could you Help me please....?
>
>
>
|
|
|
Goto Forum:
Current Time: Fri Sep 20 23:32:10 GMT 2024
Powered by FUDForum. Page generated in 0.04433 seconds
|