Home » Modeling » GMF (Graphical Modeling Framework) » GMF ecore editor and EMF validation framework
|
Re: GMF ecore editor and EMF validation framework [message #1162 is a reply to message #1109] |
Mon, 31 July 2006 16:30 |
Radomil Dvorak Messages: 249 Registered: July 2009 |
Senior Member |
|
|
Hi Lucas,
Sure, you can use GMF ecore editor to design constraints for EMF generated
validators.
At the moment, only by plain creation of annotation elements the same way as
if edited in non-graphical ecore
editor.
There is no special constraint modeling support available now.
Regards,
/Radek
"lucas bigeardel" <lucas.bigeardel@gmail.com> wrote in message
news:eal7j3$ihm$1@utils.eclipse.org...
> Hello,
>
> Validation framework overview article is really interresting. It proposes
> a
> solution to validate EMF models even in cases EMFT based validation
> solutions are not possible (eg : EMF "batch" use).
>
> My concern is I dont have rose license and already did my design with GMF
> ecore editor. So, I would like to find a way to design constraints in this
> configuration.
>
> OK, I know I am modeler addicted (and poor as well).
>
> Is there a way to define constraints at design time with the GMF ecore
> editor integration ?
>
> I'm not sure this post is 100% GMF, I posted to EMF newsgroup just in
> case.
>
> regards,
>
> - Lucas
>
>
>
|
|
|
Re: GMF ecore editor and EMF validation framework [message #2191 is a reply to message #1162] |
Tue, 01 August 2006 13:09 |
lucas bigeardel Messages: 155 Registered: July 2009 |
Senior Member |
|
|
Hi,
you're right I did it with simple annotations.
Did you managed to make it working with Annotations references.
In my case, reference values selected by ComboBox aren't "remembered".
I just created a EAnnotation, filling it according to EMFconstraints specs
and drag an drop it inside the EClass to be under validation.
The problem is that I'm not sure this is the best solution as I duplicate
EAnnotations.
Is there a way to define an EAnnotion and reusing it in several different
EClasses for EMF constraints validation code generation (eg: with Ecore
editor)?
regards,
- Lucas
"Radek Dvorak" <radek.dvorak@borland.com> wrote in message
news:ealb70$ibh$1@utils.eclipse.org...
> Hi Lucas,
>
> Sure, you can use GMF ecore editor to design constraints for EMF generated
> validators.
> At the moment, only by plain creation of annotation elements the same way
> as if edited in non-graphical ecore
> editor.
> There is no special constraint modeling support available now.
>
> Regards,
> /Radek
>
> "lucas bigeardel" <lucas.bigeardel@gmail.com> wrote in message
> news:eal7j3$ihm$1@utils.eclipse.org...
>> Hello,
>>
>> Validation framework overview article is really interresting. It proposes
>> a
>> solution to validate EMF models even in cases EMFT based validation
>> solutions are not possible (eg : EMF "batch" use).
>>
>> My concern is I dont have rose license and already did my design with GMF
>> ecore editor. So, I would like to find a way to design constraints in
>> this
>> configuration.
>>
>> OK, I know I am modeler addicted (and poor as well).
>>
>> Is there a way to define constraints at design time with the GMF ecore
>> editor integration ?
>>
>> I'm not sure this post is 100% GMF, I posted to EMF newsgroup just in
>> case.
>>
>> regards,
>>
>> - Lucas
>>
>>
>>
>
>
|
|
|
Re: GMF ecore editor and EMF validation framework [message #2221 is a reply to message #2191] |
Tue, 01 August 2006 14:07 |
Radomil Dvorak Messages: 249 Registered: July 2009 |
Senior Member |
|
|
Hi,
If you look at the ecore metamodel, there is EModelElement class which can
contain EAnnotation elements via
'eAnnotations' reference and to my best knowledge of ecore, constraints are
extracted only from there.
So most probably, you can not reuse them due to the containment
relationship.
Anyway, you'd better check yourself ;-)
Regards,
/Radek
"lucas bigeardel" <lucas.bigeardel@gmail.com> wrote in message
news:eanjq9$n7u$1@utils.eclipse.org...
> Hi,
>
> you're right I did it with simple annotations.
>
> Did you managed to make it working with Annotations references.
>
> In my case, reference values selected by ComboBox aren't "remembered".
>
> I just created a EAnnotation, filling it according to EMFconstraints specs
> and drag an drop it inside the EClass to be under validation.
>
> The problem is that I'm not sure this is the best solution as I duplicate
> EAnnotations.
>
> Is there a way to define an EAnnotion and reusing it in several different
> EClasses for EMF constraints validation code generation (eg: with Ecore
> editor)?
>
> regards,
>
> - Lucas
>
> "Radek Dvorak" <radek.dvorak@borland.com> wrote in message
> news:ealb70$ibh$1@utils.eclipse.org...
>> Hi Lucas,
>>
>> Sure, you can use GMF ecore editor to design constraints for EMF
>> generated validators.
>> At the moment, only by plain creation of annotation elements the same way
>> as if edited in non-graphical ecore
>> editor.
>> There is no special constraint modeling support available now.
>>
>> Regards,
>> /Radek
>>
>> "lucas bigeardel" <lucas.bigeardel@gmail.com> wrote in message
>> news:eal7j3$ihm$1@utils.eclipse.org...
>>> Hello,
>>>
>>> Validation framework overview article is really interresting. It
>>> proposes a
>>> solution to validate EMF models even in cases EMFT based validation
>>> solutions are not possible (eg : EMF "batch" use).
>>>
>>> My concern is I dont have rose license and already did my design with
>>> GMF
>>> ecore editor. So, I would like to find a way to design constraints in
>>> this
>>> configuration.
>>>
>>> OK, I know I am modeler addicted (and poor as well).
>>>
>>> Is there a way to define constraints at design time with the GMF ecore
>>> editor integration ?
>>>
>>> I'm not sure this post is 100% GMF, I posted to EMF newsgroup just in
>>> case.
>>>
>>> regards,
>>>
>>> - Lucas
>>>
>>>
>>>
>>
>>
>
>
|
|
|
Re: GMF ecore editor and EMF validation framework [message #2559 is a reply to message #2221] |
Wed, 02 August 2006 14:03 |
Madanagopal Messages: 39 Registered: July 2009 |
Member |
|
|
Hello Lucas,
Please ignore this if you have come across this kind of Ecore Editor
previously.
Check out the "Emphatic Editor" for creating Ecore files.
Regards,
Madanagopal.
On Tue, 01 Aug 2006 16:07:31 +0200, Radek Dvorak
<radek.dvorak@borland.com> wrote:
> Hi,
>
> If you look at the ecore metamodel, there is EModelElement class which
> can
> contain EAnnotation elements via
> 'eAnnotations' reference and to my best knowledge of ecore, constraints
> are
> extracted only from there.
> So most probably, you can not reuse them due to the containment
> relationship.
> Anyway, you'd better check yourself ;-)
>
> Regards,
> /Radek
>
> "lucas bigeardel" <lucas.bigeardel@gmail.com> wrote in message
> news:eanjq9$n7u$1@utils.eclipse.org...
>> Hi,
>>
>> you're right I did it with simple annotations.
>>
>> Did you managed to make it working with Annotations references.
>>
>> In my case, reference values selected by ComboBox aren't "remembered".
>>
>> I just created a EAnnotation, filling it according to EMFconstraints
>> specs
>> and drag an drop it inside the EClass to be under validation.
>>
>> The problem is that I'm not sure this is the best solution as I
>> duplicate
>> EAnnotations.
>>
>> Is there a way to define an EAnnotion and reusing it in several
>> different
>> EClasses for EMF constraints validation code generation (eg: with Ecore
>> editor)?
>>
>> regards,
>>
>> - Lucas
>>
>> "Radek Dvorak" <radek.dvorak@borland.com> wrote in message
>> news:ealb70$ibh$1@utils.eclipse.org...
>>> Hi Lucas,
>>>
>>> Sure, you can use GMF ecore editor to design constraints for EMF
>>> generated validators.
>>> At the moment, only by plain creation of annotation elements the same
>>> way
>>> as if edited in non-graphical ecore
>>> editor.
>>> There is no special constraint modeling support available now.
>>>
>>> Regards,
>>> /Radek
>>>
>>> "lucas bigeardel" <lucas.bigeardel@gmail.com> wrote in message
>>> news:eal7j3$ihm$1@utils.eclipse.org...
>>>> Hello,
>>>>
>>>> Validation framework overview article is really interresting. It
>>>> proposes a
>>>> solution to validate EMF models even in cases EMFT based validation
>>>> solutions are not possible (eg : EMF "batch" use).
>>>>
>>>> My concern is I dont have rose license and already did my design with
>>>> GMF
>>>> ecore editor. So, I would like to find a way to design constraints in
>>>> this
>>>> configuration.
>>>>
>>>> OK, I know I am modeler addicted (and poor as well).
>>>>
>>>> Is there a way to define constraints at design time with the GMF ecore
>>>> editor integration ?
>>>>
>>>> I'm not sure this post is 100% GMF, I posted to EMF newsgroup just in
>>>> case.
>>>>
>>>> regards,
>>>>
>>>> - Lucas
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Goto Forum:
Current Time: Thu Dec 26 12:04:29 GMT 2024
Powered by FUDForum. Page generated in 0.07346 seconds
|