Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » problems about EMF Incubating components
problems about EMF Incubating components [message #833505] Sat, 31 March 2012 16:00 Go to next message
Lucy Chan is currently offline Lucy Chan
Messages: 29
Registered: March 2012
Junior Member
I just download the Eclipse Modeling Tools (includes Incubating components), choosing Windows 32-bit from website "www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/ganymeder". I try to implement the Eclipse Validation Framework as the website ("wiki.eclipse.org/EMF/Validation/Recipes") describes.
I'm a new learner about EMF, so have some questions and hope someone can give me some guidance.
1.
If the Eclipse Validation Framework can implement OCL validation on the console?
2.
In step 7, it tells we need to delete the src folder from the org.eclipse.emf.validation.examples.ocl project. But in step 9, if we also need to modify the
<constraintProvider class="org.eclipse.emf.validation.examples.ocl.OCLConstraintProvider" category="Constraints from an OCL Document">
once we delete the src folder in step, the org.eclipse.emf.validation.examples.ocl.OCLConstraintProvider will disappear.
3.
in step 15, is the ProductEditor in "insert import product.presentation.ProductEditor" the same one product.presentation.ProductEditorID in step 13 < targetID="product.presentation.ProductEditorID">
if I insert the sentence "import product.presentation.ProductEditor", it will have errors on missing the import product.presentation.ProductEditor package
Thanks very much for helping!
Re: problems about EMF Incubating components [message #833526 is a reply to message #833505] Sat, 31 March 2012 16:42 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4098
Registered: July 2009
Senior Member
Hi Lucy

Ganymede is seriously old. Galileo, Helios, and Indigo are available,
the latter two have substantially better integration for OCL. See the
OCLinEcore tutorial in the newer Help documentation.

Regards

Ed Willink

On 31/03/2012 17:00, Lucy Chan wrote:
> I just download the Eclipse Modeling Tools (includes Incubating
> components), choosing Windows 32-bit from website
> "www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/ganymeder".
> I try to implement the Eclipse Validation Framework as the website
> ("wiki.eclipse.org/EMF/Validation/Recipes") describes.
> I'm a new learner about EMF, so have some questions and hope someone
> can give me some guidance.
> 1.
> If the Eclipse Validation Framework can implement OCL validation on
> the console?
> 2.
> In step 7, it tells we need to delete the src folder from the
> org.eclipse.emf.validation.examples.ocl project. But in step 9, if we
> also need to modify the <constraintProvider
> class="org.eclipse.emf.validation.examples.ocl.OCLConstraintProvider"
> category="Constraints from an OCL Document">
> once we delete the src folder in step, the
> org.eclipse.emf.validation.examples.ocl.OCLConstraintProvider will
> disappear.
> 3.
> in step 15, is the ProductEditor in "insert import
> product.presentation.ProductEditor" the same one
> product.presentation.ProductEditorID in step 13 <
> targetID="product.presentation.ProductEditorID">
> if I insert the sentence "import product.presentation.ProductEditor",
> it will have errors on missing the import
> product.presentation.ProductEditor package
> Thanks very much for helping!
Previous Topic:How to define an OCL constraint for a modelElements association relationship
Next Topic:errors in Eclipse Modeling Tools for Indigo Packages
Goto Forum:
  


Current Time: Sun Oct 26 01:56:19 GMT 2014

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

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