Hi,
this fragment was exactly what I was looking for.
You say, it is not generated from a package from the EPackage registry - does the editor give a warning on the import declaration that the corresponding genmodel couldn't be found? I am asking, because that fragment is generated by looking at the genmodel of the package - and in case of the genmodel not available, there is no way to automatically infer this information.
If possible, I would look at the genmodel declarations; or if that does not provide the required results, then you could add this information using the optional attribute 'editorId' of the Constraint annotation.
Zoltán
-- Zoltán Ujhelyi
https://www.inf.mit.bme.hu/en/members/ujhelyiz
Fault Tolerant Systems Research Group
Budapest University of Technology and Economics
>>>> Now run the workspace; there is no "*Initialize EMF-IncQuery Validators*."
>>>> option in the menu.
>>>>
>>>> On Eclipse Juno SR1 on Windows 7 x64.
>>>>
>>>> Op vrijdag 25 januari 2013 14:43:12 UTC+1 schreef Joost van Pinxten het
>>>> volgende:
>>>>>
>>>>> Hi guys,
>>>>>
>>>>> Just tried to implement a constraint on my own EMF models, as I could
>>>>> not find the old STP BPMN update site and the new BPMN2 is not available
>>>>> yet.
>>>>>
>>>>> What I found confusing, is that the validators need to be initialized
>>>>> explicitly. Once I knew that, I went looking for the context menu entry (as
>>>>> described in the BPMN validation example). However, during several runs, I
>>>>> have only been able to find that initialize command once... After that, the
>>>>> validation does work as expected.
>>>>>
>>>>> I'm now unable to figure out how to get that command to show up in the
>>>>> context menu... My project consists of one query project, (containing 1
>>>>> .eiq), the Xtext projects for my DSL and the generated model projects.
>>>>>
>>>>> Is this a known issue?
>>>>>
>>>>> Regards,
>>>>> Joost
>>>>>
>>>>
>
> --
> You received this message because you are subscribed to the Google Groups "EMF-IncQuery Users" group.
> To post to this group, send email to
incquer...@googlegroups.com.
> To unsubscribe from this group, send email to
incquery-user...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msg/incquery-users/-/u4yxmrJ4QvUJ.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>