Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » [CompleteOCL] Problems with CompleteOCL editor
[CompleteOCL] Problems with CompleteOCL editor [message #686047] Tue, 21 June 2011 13:56 Go to next message
Ambros Morscher is currently offline Ambros MorscherFriend
Messages: 28
Registered: June 2010
Junior Member
Hi all,

I'm using CompleteOCL to attach OCL constraints to my UML model.
When using the CompleteOCL editor i get several errors when trying to use packages or classes (contexts)from my uml model. I import my metamodel to the ocl file as follows:

import '../../RangeDB_cdm.uml'


package MonitoringData::MonitoringGroups

context GRPK
--Value constraint String--
	inv checkGRPKNameValue :
	let name :String = self.GRPK_GNAME in
	 	name.size()<=12 

endpackage


The editor behaves really buggy. Did I do something wrong when importing my metamodel? Has anyone a good example how to use CompleteOCL in combination with UML?
Is there a problem with nested packages? Because the editor is not able to resolve classes in the package like in my example GRPK.

Thanks Ambros
icon4.gif  Re: [CompleteOCL] Problems with CompleteOCL editor [message #703259 is a reply to message #686047] Wed, 27 July 2011 11:10 Go to previous messageGo to next message
Ambros Morscher is currently offline Ambros MorscherFriend
Messages: 28
Registered: June 2010
Junior Member
This is a very important request. And i am really looking forward to get some answers.
Is the question not clear. If this is the case please let me know so that i can clarify.
Re: [CompleteOCL] Problems with CompleteOCL editor [message #703519 is a reply to message #703259] Wed, 27 July 2011 16:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Ambros

The question is far from clear.

My newsgroup reader shows no previous message, so what is the question?

Regards

Ed Willink

On 27/07/2011 12:10, Ambros Morscher wrote:
> This is a very important request. And i am really looking forward to
> get some answers. Is the question not clear. If this is the case
> please let me know so that i can clarify.
Re: [CompleteOCL] Problems with CompleteOCL editor [message #704188 is a reply to message #703519] Thu, 28 July 2011 11:12 Go to previous messageGo to next message
Ambros Morscher is currently offline Ambros MorscherFriend
Messages: 28
Registered: June 2010
Junior Member
Posted my problem/question again
I'm using CompleteOCL to attach OCL constraints to my UML model.
When using the CompleteOCL editor i get several errors when trying to use packages or classes (contexts)from my uml model. I import my metamodel to the ocl file as follows:

import '../../RangeDB_cdm.uml'


package MonitoringData::MonitoringGroups

context GRPK
--Value constraint String--
	inv checkGRPKNameValue :
	let name :String = self.GRPK_GNAME in
	 	name.size()<=12 

endpackage


The editor behaves really buggy. Did I do something wrong when importing my metamodel? Has anyone a good example how to use CompleteOCL in combination with UML?
Is there a problem with nested packages? Because the editor is not able to resolve classes in the package like in my example GRPK.
Re: [CompleteOCL] Problems with CompleteOCL editor [message #704431 is a reply to message #704188] Thu, 28 July 2011 15:59 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Ambros

The addition of UML editing support was a late addition just in time for
Indigo. It uses a double translation from UML to Ecore and then to Pivot
even though a direct UML to Pivot should be much easier since the Pivot
is UML-derived. Unfortunately the profile support is not yet present so
via Ecore was a better option than no UML support.

I'm not entirely surprised that there are problems. Sorry. Can you raise
Bugzillas with example files so that I cannot forget about the problems.

Regards

Ed Willink

On 28/07/2011 12:12, Ambros Morscher wrote:
> Posted my problem/question again
> I'm using CompleteOCL to attach OCL constraints to my UML model.
> When using the CompleteOCL editor i get several errors when trying to
> use packages or classes (contexts)from my uml model. I import my
> metamodel to the ocl file as follows:
>
> import '../../RangeDB_cdm.uml'
>
>
> package MonitoringData::MonitoringGroups
>
> context GRPK
> --Value constraint String--
> inv checkGRPKNameValue :
> let name :String = self.GRPK_GNAME in
> name.size()<=12
> endpackage
>
> The editor behaves really buggy. Did I do something wrong when
> importing my metamodel? Has anyone a good example how to use
> CompleteOCL in combination with UML?
> Is there a problem with nested packages? Because the editor is not
> able to resolve classes in the package like in my example GRPK.
>
Previous Topic:Error while testing OCLinEcore Tutorial
Next Topic:oclIsTypeOf error with OCLinEcore
Goto Forum:
  


Current Time: Fri Mar 29 00:44:31 GMT 2024

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

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

Back to the top