problems about EMF Incubating components [message #833505] |
Sat, 31 March 2012 12:00  |
Eclipse User |
|
|
|
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 12:42  |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.04150 seconds