[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Re: OCL constraints disabled and no preferences Dialog

Hi Radek

Thanks for this pointer, it turned out that I was missing org.eclipse.emf.validation.ocl and org.eclipse.emf.validation.ui from my runtime.

However the worrying thing is that I used the "Add Required Plug-ins" button (with include optional dependancies enabled) and the "Validate Plug-in Set" button, and there was no indication that I was relying upon missing plugins.

Any ideas why this is the case?

Alan

Radek Dvorak wrote:
Hi Alan,

Any Error Log entries ?
Looks like not all dependencies are available as the constraint gets disabled probably due to
an exception thrown. Check the GMF required dependencies.


The "Validation Constraints" preference window is provided by 'org.eclipse.emf.validation.ui' so check
if this plugin is not missing.


Regards,
/Radek

"alan newton" <alan.newton@xxxxxxxxxxxxxx> wrote in message news:44D1EBB0.80803@xxxxxxxxxxxxxxxxx

Hi

I don't know if anyone can help, but I am having trouble adding OCL rules to my GMF application.

I followed the instructions within GMF Tutorial 2, including setting "Validation Enabled" and "Validation Decorators" to True, Modifying the "Validation Provider Priority" to Medium. However, when I run the application in the Problem view I get Messages "IRJA00301 The Constraint ..... is disabled. It will not be evaluated." and there is no "Validation Constraints" preference window.

Does anyone know what I have neglected to do.

Thanks

Alan