Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EVL integration in UML2 Tools
EVL integration in UML2 Tools [message #17999] Tue, 12 May 2009 08:11 Go to next message
Eclipse UserFriend
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 #18010 is a reply to message #17999] Tue, 12 May 2009 08:40 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 #18022 is a reply to message #18010] Tue, 12 May 2009 10:19 Go to previous messageGo to next message
Eclipse UserFriend
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 10:37 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 10:43 Go to previous messageGo to next message
Eclipse UserFriend
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 13:05 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 #568132 is a reply to message #17999] Tue, 12 May 2009 08:40 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 10:19 Go to previous messageGo to next message
Eclipse UserFriend
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 10:37 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 10:43 Go to previous messageGo to next message
Eclipse UserFriend
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 13:05 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 09:29 Go to previous message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
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
Previous Topic:NullPointerException during emfcode generation phase
Next Topic:XML creation during ETL
Goto Forum:
  


Current Time: Thu Apr 25 04:25:12 GMT 2024

Powered by FUDForum. Page generated in 0.03937 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top