Home » Modeling » Epsilon » EVL integration in UML2 Tools
EVL integration in UML2 Tools [message #17999] |
Tue, 12 May 2009 04:11  |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi!
I want to integrate my EVL constraints into UML2 Tools but there is no
description (EpsilonBook, Cinema, ...) to do this.
Who can help me?
Regards,
Thorsten
|
|
| |
Re: EVL integration in UML2 Tools [message #18022 is a reply to message #18010] |
Tue, 12 May 2009 06:19   |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Dimitris!
Thank you for your fast response.
I can execute the evl file via an EVL Validiation launch configuration
and the messages are shown in the validation view.
It works, but unfortunately there must be a mistake when launching: the
progress information shows an activity 'Loading models' and I think
there is an infinite loop!
Thorsten
Dimitris Kolovos schrieb:
> Hi Thorsten,
>
> A detailed tutorial for integrating EVL constraints with GMF editors is
> available in
> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration. Ideally,
> like in the tutorial, you'd just need to write your constraints and bind
> them to with the UML2 namespace uri.
>
> However, it seems that validation is not enabled for the UML2 Tools
> (i.e. the Diagram menu doesn't have a Validate item). Let's see if we
> can get some help on this over at eclipse.modeling.mdt.uml2tools (added)
>
> Cheers,
> Dimitris
>
> Thorsten Arendt wrote:
>> Hi!
>>
>> I want to integrate my EVL constraints into UML2 Tools but there is no
>> description (EpsilonBook, Cinema, ...) to do this.
>>
>> Who can help me?
>>
>> Regards,
>> Thorsten
|
|
|
Re: EVL integration in UML2 Tools [message #18033 is a reply to message #18022] |
Tue, 12 May 2009 06:37   |
Eclipse User |
|
|
|
Hi Thorsten,
The reason for this is that once constraints have been evaluated, EVL
remains in a live state so that you can also invoke the available quick
fixes. If you don't need to invoke any quick fixes, you can click the
run-like arrow in the validation view and end the execution.
Cheers,
Dimitris
Thorsten Arendt wrote:
> Hi Dimitris!
>
> Thank you for your fast response.
> I can execute the evl file via an EVL Validiation launch configuration
> and the messages are shown in the validation view.
> It works, but unfortunately there must be a mistake when launching: the
> progress information shows an activity 'Loading models' and I think
> there is an infinite loop!
>
> Thorsten
>
>
>
> Dimitris Kolovos schrieb:
>> Hi Thorsten,
>>
>> A detailed tutorial for integrating EVL constraints with GMF editors
>> is available in
>> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration. Ideally,
>> like in the tutorial, you'd just need to write your constraints and
>> bind them to with the UML2 namespace uri.
>>
>> However, it seems that validation is not enabled for the UML2 Tools
>> (i.e. the Diagram menu doesn't have a Validate item). Let's see if we
>> can get some help on this over at eclipse.modeling.mdt.uml2tools (added)
>>
>> Cheers,
>> Dimitris
>>
>> Thorsten Arendt wrote:
>>> Hi!
>>>
>>> I want to integrate my EVL constraints into UML2 Tools but there is
>>> no description (EpsilonBook, Cinema, ...) to do this.
>>>
>>> Who can help me?
>>>
>>> Regards,
>>> Thorsten
|
|
|
Re: EVL integration in UML2 Tools [message #18046 is a reply to message #18033] |
Tue, 12 May 2009 06:43   |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Dimitris!
I just found it out! Many Thanks.
Dimitris Kolovos schrieb:
> Hi Thorsten,
>
> The reason for this is that once constraints have been evaluated, EVL
> remains in a live state so that you can also invoke the available quick
> fixes. If you don't need to invoke any quick fixes, you can click the
> run-like arrow in the validation view and end the execution.
>
> Cheers,
> Dimitris
>
> Thorsten Arendt wrote:
>> Hi Dimitris!
>>
>> Thank you for your fast response.
>> I can execute the evl file via an EVL Validiation launch configuration
>> and the messages are shown in the validation view.
>> It works, but unfortunately there must be a mistake when launching:
>> the progress information shows an activity 'Loading models' and I
>> think there is an infinite loop!
>>
>> Thorsten
>>
>>
>>
>> Dimitris Kolovos schrieb:
>>> Hi Thorsten,
>>>
>>> A detailed tutorial for integrating EVL constraints with GMF editors
>>> is available in
>>> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration. Ideally,
>>> like in the tutorial, you'd just need to write your constraints and
>>> bind them to with the UML2 namespace uri.
>>>
>>> However, it seems that validation is not enabled for the UML2 Tools
>>> (i.e. the Diagram menu doesn't have a Validate item). Let's see if we
>>> can get some help on this over at eclipse.modeling.mdt.uml2tools (added)
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Thorsten Arendt wrote:
>>>> Hi!
>>>>
>>>> I want to integrate my EVL constraints into UML2 Tools but there is
>>>> no description (EpsilonBook, Cinema, ...) to do this.
>>>>
>>>> Who can help me?
>>>>
>>>> Regards,
>>>> Thorsten
|
|
|
Re: EVL integration in UML2 Tools [message #18059 is a reply to message #18046] |
Tue, 12 May 2009 09:05   |
Eclipse User |
|
|
|
Hi Thorsten,
Glad to hear that! However the UML2 Tools question remains: Is it
possible to somehow enable/invoke validation in the UML2 Tools GMF-based
editors or would one need to regenerate the editors with the right flags on?
Cheers,
Dimitris
Thorsten Arendt wrote:
> Hi Dimitris!
>
> I just found it out! Many Thanks.
>
>
> Dimitris Kolovos schrieb:
>> Hi Thorsten,
>>
>> The reason for this is that once constraints have been evaluated, EVL
>> remains in a live state so that you can also invoke the available
>> quick fixes. If you don't need to invoke any quick fixes, you can
>> click the run-like arrow in the validation view and end the execution.
>>
>> Cheers,
>> Dimitris
>>
>> Thorsten Arendt wrote:
>>> Hi Dimitris!
>>>
>>> Thank you for your fast response.
>>> I can execute the evl file via an EVL Validiation launch
>>> configuration and the messages are shown in the validation view.
>>> It works, but unfortunately there must be a mistake when launching:
>>> the progress information shows an activity 'Loading models' and I
>>> think there is an infinite loop!
>>>
>>> Thorsten
>>>
>>>
>>>
>>> Dimitris Kolovos schrieb:
>>>> Hi Thorsten,
>>>>
>>>> A detailed tutorial for integrating EVL constraints with GMF editors
>>>> is available in
>>>> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration.
>>>> Ideally, like in the tutorial, you'd just need to write your
>>>> constraints and bind them to with the UML2 namespace uri.
>>>>
>>>> However, it seems that validation is not enabled for the UML2 Tools
>>>> (i.e. the Diagram menu doesn't have a Validate item). Let's see if
>>>> we can get some help on this over at eclipse.modeling.mdt.uml2tools
>>>> (added)
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Thorsten Arendt wrote:
>>>>> Hi!
>>>>>
>>>>> I want to integrate my EVL constraints into UML2 Tools but there is
>>>>> no description (EpsilonBook, Cinema, ...) to do this.
>>>>>
>>>>> Who can help me?
>>>>>
>>>>> Regards,
>>>>> Thorsten
|
|
| |
Re: EVL integration in UML2 Tools [message #568165 is a reply to message #18010] |
Tue, 12 May 2009 06:19   |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Dimitris!
Thank you for your fast response.
I can execute the evl file via an EVL Validiation launch configuration
and the messages are shown in the validation view.
It works, but unfortunately there must be a mistake when launching: the
progress information shows an activity 'Loading models' and I think
there is an infinite loop!
Thorsten
Dimitris Kolovos schrieb:
> Hi Thorsten,
>
> A detailed tutorial for integrating EVL constraints with GMF editors is
> available in
> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration Ideally,
> like in the tutorial, you'd just need to write your constraints and bind
> them to with the UML2 namespace uri.
>
> However, it seems that validation is not enabled for the UML2 Tools
> (i.e. the Diagram menu doesn't have a Validate item). Let's see if we
> can get some help on this over at eclipse.modeling.mdt.uml2tools (added)
>
> Cheers,
> Dimitris
>
> Thorsten Arendt wrote:
>> Hi!
>>
>> I want to integrate my EVL constraints into UML2 Tools but there is no
>> description (EpsilonBook, Cinema, ...) to do this.
>>
>> Who can help me?
>>
>> Regards,
>> Thorsten
|
|
|
Re: EVL integration in UML2 Tools [message #568193 is a reply to message #18022] |
Tue, 12 May 2009 06:37   |
Eclipse User |
|
|
|
Hi Thorsten,
The reason for this is that once constraints have been evaluated, EVL
remains in a live state so that you can also invoke the available quick
fixes. If you don't need to invoke any quick fixes, you can click the
run-like arrow in the validation view and end the execution.
Cheers,
Dimitris
Thorsten Arendt wrote:
> Hi Dimitris!
>
> Thank you for your fast response.
> I can execute the evl file via an EVL Validiation launch configuration
> and the messages are shown in the validation view.
> It works, but unfortunately there must be a mistake when launching: the
> progress information shows an activity 'Loading models' and I think
> there is an infinite loop!
>
> Thorsten
>
>
>
> Dimitris Kolovos schrieb:
>> Hi Thorsten,
>>
>> A detailed tutorial for integrating EVL constraints with GMF editors
>> is available in
>> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration Ideally,
>> like in the tutorial, you'd just need to write your constraints and
>> bind them to with the UML2 namespace uri.
>>
>> However, it seems that validation is not enabled for the UML2 Tools
>> (i.e. the Diagram menu doesn't have a Validate item). Let's see if we
>> can get some help on this over at eclipse.modeling.mdt.uml2tools (added)
>>
>> Cheers,
>> Dimitris
>>
>> Thorsten Arendt wrote:
>>> Hi!
>>>
>>> I want to integrate my EVL constraints into UML2 Tools but there is
>>> no description (EpsilonBook, Cinema, ...) to do this.
>>>
>>> Who can help me?
>>>
>>> Regards,
>>> Thorsten
|
|
|
Re: EVL integration in UML2 Tools [message #568230 is a reply to message #18033] |
Tue, 12 May 2009 06:43   |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Dimitris!
I just found it out! Many Thanks.
Dimitris Kolovos schrieb:
> Hi Thorsten,
>
> The reason for this is that once constraints have been evaluated, EVL
> remains in a live state so that you can also invoke the available quick
> fixes. If you don't need to invoke any quick fixes, you can click the
> run-like arrow in the validation view and end the execution.
>
> Cheers,
> Dimitris
>
> Thorsten Arendt wrote:
>> Hi Dimitris!
>>
>> Thank you for your fast response.
>> I can execute the evl file via an EVL Validiation launch configuration
>> and the messages are shown in the validation view.
>> It works, but unfortunately there must be a mistake when launching:
>> the progress information shows an activity 'Loading models' and I
>> think there is an infinite loop!
>>
>> Thorsten
>>
>>
>>
>> Dimitris Kolovos schrieb:
>>> Hi Thorsten,
>>>
>>> A detailed tutorial for integrating EVL constraints with GMF editors
>>> is available in
>>> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration Ideally,
>>> like in the tutorial, you'd just need to write your constraints and
>>> bind them to with the UML2 namespace uri.
>>>
>>> However, it seems that validation is not enabled for the UML2 Tools
>>> (i.e. the Diagram menu doesn't have a Validate item). Let's see if we
>>> can get some help on this over at eclipse.modeling.mdt.uml2tools (added)
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Thorsten Arendt wrote:
>>>> Hi!
>>>>
>>>> I want to integrate my EVL constraints into UML2 Tools but there is
>>>> no description (EpsilonBook, Cinema, ...) to do this.
>>>>
>>>> Who can help me?
>>>>
>>>> Regards,
>>>> Thorsten
|
|
|
Re: EVL integration in UML2 Tools [message #568246 is a reply to message #18046] |
Tue, 12 May 2009 09:05   |
Eclipse User |
|
|
|
Hi Thorsten,
Glad to hear that! However the UML2 Tools question remains: Is it
possible to somehow enable/invoke validation in the UML2 Tools GMF-based
editors or would one need to regenerate the editors with the right flags on?
Cheers,
Dimitris
Thorsten Arendt wrote:
> Hi Dimitris!
>
> I just found it out! Many Thanks.
>
>
> Dimitris Kolovos schrieb:
>> Hi Thorsten,
>>
>> The reason for this is that once constraints have been evaluated, EVL
>> remains in a live state so that you can also invoke the available
>> quick fixes. If you don't need to invoke any quick fixes, you can
>> click the run-like arrow in the validation view and end the execution.
>>
>> Cheers,
>> Dimitris
>>
>> Thorsten Arendt wrote:
>>> Hi Dimitris!
>>>
>>> Thank you for your fast response.
>>> I can execute the evl file via an EVL Validiation launch
>>> configuration and the messages are shown in the validation view.
>>> It works, but unfortunately there must be a mistake when launching:
>>> the progress information shows an activity 'Loading models' and I
>>> think there is an infinite loop!
>>>
>>> Thorsten
>>>
>>>
>>>
>>> Dimitris Kolovos schrieb:
>>>> Hi Thorsten,
>>>>
>>>> A detailed tutorial for integrating EVL constraints with GMF editors
>>>> is available in
>>>> http://epsilonlabs.wiki.sourceforge.net/EVL-GMF+Integration
>>>> Ideally, like in the tutorial, you'd just need to write your
>>>> constraints and bind them to with the UML2 namespace uri.
>>>>
>>>> However, it seems that validation is not enabled for the UML2 Tools
>>>> (i.e. the Diagram menu doesn't have a Validate item). Let's see if
>>>> we can get some help on this over at eclipse.modeling.mdt.uml2tools
>>>> (added)
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Thorsten Arendt wrote:
>>>>> Hi!
>>>>>
>>>>> I want to integrate my EVL constraints into UML2 Tools but there is
>>>>> no description (EpsilonBook, Cinema, ...) to do this.
>>>>>
>>>>> Who can help me?
>>>>>
>>>>> Regards,
>>>>> Thorsten
|
|
|
Re: EVL integration in UML Designer 6.0 [message #1735395 is a reply to message #568246] |
Sat, 18 June 2016 05:29  |
Eclipse User |
|
|
|
Hi,
I like to use the EVL's live validation to check some constraints on a UML model. I'm using UML Design 6.0 and eclipse Mars. In other words, the validation must be triggered whenever a model is changed by the user. Following is my sample module:
context Class {
guard: self.name.isDefined()
constraint ClassNamesStartWithAnUpperCase{
check: self.name.firstToUpperCase() = self.name
message: "Each class name should start with an upper case letter!"
fix {
title: "Change " + self.name + " class name's first letter to an uppercase:"
do {
self.name = self.name.firstToUpperCase();
}
}
}
}
I used the tutorial of the following like:
http://www.eclipse.org/epsilon/doc/articles/evl-gmf-integration/
But, the live validation is not working for the UML Designer 6.0 class diagram editor which hosts my model, despite I clicked the Diagram>Validate menu!
Kind regards,
Alireza
|
|
|
Goto Forum:
Current Time: Mon May 12 12:51:46 EDT 2025
Powered by FUDForum. Page generated in 0.04502 seconds
|