Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Iterate through associated classes
[Acceleo] Iterate through associated classes [message #813912] Mon, 05 March 2012 21:01 Go to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Dear all,

I'd like to iterate trough the set of all classes associated to a particular class. I can get a collection of associations with the getAssociations() method, but a similar thing for associated classes I haven't found. How can it be done?

Thank you.
Re: [Acceleo] Iterate through associated classes [message #814328 is a reply to message #813912] Tue, 06 March 2012 10:07 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi

You are half way there. I presume by associated classes you mean the the
owning types of the member ends of the associations.

Regards

Ed Willink

On 05/03/2012 21:01, Luís de Sousa wrote:
> Dear all,
>
> I'd like to iterate trough the set of all classes associated to a
> particular class. I can get a collection of associations with the
> getAssociations() method, but a similar thing for associated classes I
> haven't found. How can it be done?
>
> Thank you.
Re: [Acceleo] Iterate through associated classes [message #815100 is a reply to message #814328] Wed, 07 March 2012 08:26 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1639
Registered: July 2009
Senior Member
Hi,

I do not use UML much and don't really know how to get my way around it, but I think Ed's right on the spot. You might want to import the UML metamodel in your workspace in order to get an idea of how to get from one point to the other. In your eclipse, use :

File > Import > Plug-in Development > Plug-ins and fragments

In the dialog that pops up, select "Projects with source folders" in the bottom pane then hit "Next >". In the next window, select "org.eclipse.uml2.uml" in the left pane and click the "Add ->" button. You can then Finish the wizard.

In your workspace, a new project "org.eclipse.uml2.uml" will have been created. It contains a folder "model" in which is located the model "UML.ecore". This is the metamodel that is use behind the scene by Acceleo, you can then get an overview of the attributes and operations available on all classes.

Laurent Goubet
Obeo

[Updated on: Wed, 07 March 2012 08:26]

Report message to a moderator

Re: [Acceleo] Iterate through associated classes [message #816414 is a reply to message #815100] Thu, 08 March 2012 20:50 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Thank you all for the replies.

Edward: I could manage it from you comment. Since Acceleo doesn't comply with MOFM2T it is getting a bit hard to find my way with it, I need to invoke Java services at every little step. And I could have never find the memberEnd thing on my own.

Laurent: I did as you said, but without a visual rendering of the model it is a bit awkward to sort through it. With the model like this I don't think I would found that the associated classes are reachable through the memberEnd property.

Thank you for the help and regards.
Re: [Acceleo] Iterate through associated classes [message #816432 is a reply to message #816414] Thu, 08 March 2012 21:18 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi

Your comments don't make sense. You appear to be ignoring the
capabilities of models.

On 08/03/2012 20:50, Luís de Sousa wrote:
> Thank you all for the replies.
>
> Edward: I could manage it from you comment. Since Acceleo doesn't
> comply with MOFM2T
Acceleo is a pretty good attempt at MOFM2T, and since it is the first
and only implementation, many of the discrepancies could be argued to be
bug fixes.
> it is getting a bit hard to find my way with it, I need to invoke Java
> services at every little step.
I see no need for any Java services for your problem
> And I could have never find the memberEnd thing on my own.
memberEnd is a fundamental part of the UML meta-model;
> Laurent: I did as you said, but without a visual rendering of the
> model it is a bit awkward to sort through it.
The UML spec has many pictures.
> With the model like this I don't think I would found that the
> associated classes are reachable through the memberEnd property.
Regards

Ed Willink
Re: [Acceleo] Iterate through associated classes [message #902594 is a reply to message #816432] Sat, 18 August 2012 18:21 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Dear all,

I'm not able to use the memberEnd property any more to iterate through associated classes. The attached image shows a rather simple model just for testing purposes:

index.php/fa/11229/0/testModel.PNG

Feeding this model to this sample Acceleo module:

[comment encoding = UTF-8 /]
[module iterateAssociations('http://www.eclipse.org/uml2/3.0.0/UML')/]

[template public iterateAssociations(c : Class) ? (c.hasStereotype('Table'))]
	
	[comment @main /]
	[file (c.name.concat('.test'), false, 'UTF-8')]

	This class has the stereotype Table applied on: [c.name/]
	
	Start iteration ------------

	[for (ass:Association | c.getAssociations()) ]
		Association: [ass.name /]
		[for (p:Property | ass.memberEnd) ]
			[if (p.class.isNull())]
			This member end [p.name/] has a null class associated
			[else]
			The member end [p.name/] as the associated class: [p.class.name /] 
			[/if]
		[/for]
	[/for]
	[/file]
	
[/template]

[query public hasStereotype(arg0 : Class, arg1 : String) : Boolean
	= invoke('org.eclipse.acceleo.module.sample.services.UML2Services',
		'hasStereotype(org.eclipse.uml2.uml.Class, java.lang.String)', 
		Sequence{arg0, arg1}) /]
		
 [query public isNull(arg0 : Class) : Boolean
	= invoke('org.eclipse.acceleo.module.sample.services.UML2Services',
		'isNull(org.eclipse.uml2.uml.Class)', 
		Sequence{arg0}) /]


I get this result:

	This class has the stereotype Table applied on: Car
	
	Start iteration ------------

		Association: car_wheel
			This member end car has a null class associated
			The member end wheel as the associated class: Car 


There are 2 things here I don't understand:
. the Car class is linked to the wheel end
. the car end links to a null class

I believe this sample module allowed to iterate through associated classes back in March. But I don't have any generated files from then, hence I can't be sure.

Am I doing something wrong? What would then be the correct way to iterate through associated classes?

Thank you in advance.
Re: [Acceleo] Iterate through associated classes [message #902598 is a reply to message #902594] Sat, 18 August 2012 18:48 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi

What software release are you using?

Regards

Ed Willink

On 18/08/2012 19:21, Luís de Sousa wrote:
> Dear all,
>
> I'm not able to use the memberEnd property any more to iterate through associated classes. The attached image shows a rather simple model just for testing purposes:
>
>
>
> Feeding this model to this sample Acceleo module:
>
> [comment encoding = UTF-8 /]
> [module iterateAssociations('http://www.eclipse.org/uml2/3.0.0/UML')/]
>
> [template public iterateAssociations(c : Class) ? (c.hasStereotype('Table'))]
>
> [comment @main /]
> [file (c.name.concat('.test'), false, 'UTF-8')]
>
> This class has the stereotype Table applied on: [c.name/]
>
> Start iteration ------------
>
> [for (ass:Association | c.getAssociations()) ]
> Association: [ass.name /]
> [for (p:Property | ass.memberEnd) ]
> [if (p.class.isNull())]
> This member end [p.name/] has a null class associated
> [else]
> The member end [p.name/] as the associated class: [p.class.name /]
> [/if]
> [/for]
> [/for]
> [/file]
>
> [/template]
>
> [query public hasStereotype(arg0 : Class, arg1 : String) : Boolean
> = invoke('org.eclipse.acceleo.module.sample.services.UML2Services',
> 'hasStereotype(org.eclipse.uml2.uml.Class, java.lang.String)',
> Sequence{arg0, arg1}) /]
>
> [query public isNull(arg0 : Class) : Boolean
> = invoke('org.eclipse.acceleo.module.sample.services.UML2Services',
> 'isNull(org.eclipse.uml2.uml.Class)',
> Sequence{arg0}) /]
>
>
> I get this result:
>
>
> This class has the stereotype Table applied on: Car
>
> Start iteration ------------
>
> Association: car_wheel
> This member end car has a null class associated
> The member end wheel as the associated class: Car
>
>
> There are 2 things here I don't understand:
> the Car class is linked to the wheel end
> the car end links to a null class
>
> I believe this sample module allowed to iterate through associated classes back in March. But I don't have any generated files from then, hence I can't be sure.
>
> Am I doing something wrong? What would then be the correct way to iterate through associated classes?
>
> Thank you in advance.
Re: [Acceleo] Iterate through associated classes [message #902605 is a reply to message #902598] Sat, 18 August 2012 19:37 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Hi Ed, here's the list:

Eclipse IDE for Java Developers
Version: Indigo Service Release 1
Build id: 20110916-0149

Acceleo - Text generation from models
Version: 3.2.0.v20111027-0537
Build id: R201110270537

MDT Papyrus - SDK: Runtime, Tools, Documentation and sources (Incubation)
0.8.1.v201109161105

Thanks for reading.
Re: [Acceleo] Iterate through associated classes [message #902670 is a reply to message #902605] Sun, 19 August 2012 06:25 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi

For my transformations I found the following versions of Acceleo
unsatisfactory

3.1.3, 3.2.*, 3.3 prior to M6.

I therefore strongly recommend using either 3.1.2 or 3.3.

Regards

Ed Willink

On 18/08/2012 20:37, Luís de Sousa wrote:
> Hi Ed, here's the list:
>
> Eclipse IDE for Java Developers
> Version: Indigo Service Release 1
> Build id: 20110916-0149
>
> Acceleo - Text generation from models
> Version: 3.2.0.v20111027-0537
> Build id: R201110270537
>
> MDT Papyrus - SDK: Runtime, Tools, Documentation and sources (Incubation)
> 0.8.1.v201109161105
>
> Thanks for reading.
Re: [Acceleo] Iterate through associated classes [message #902694 is a reply to message #902670] Sun, 19 August 2012 17:27 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Ed, thank you for the reply.

Just to make it clear: so you think that the output I'm reporting is indeed incorrect?

I'll try to install Acceleo 3.3 then.
Re: [Acceleo] Iterate through associated classes [message #902695 is a reply to message #902694] Sun, 19 August 2012 20:11 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
On 19/08/2012 18:27, Luís de Sousa wrote:
> Ed, thank you for the reply.
>
> Just to make it clear: so you think that the output I'm reporting is
> indeed incorrect?
>
> I'll try to install Acceleo 3.3 then.
Hi

No Idea; but you say things have changed. I just know that a few
correspondents on this group have reported that problems have gone away
after moving to 3.3.

Regards

Ed Willink
Re: [Acceleo] Iterate through associated classes [message #902867 is a reply to message #902695] Mon, 20 August 2012 18:55 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
I'm now using this version of Acceleo:

Acceleo - Text generation from models
Version: 3.3.0.v20120529-1042
Build id: S201205291042

But I still get the same results, which don't make same to me. So, am I messing up or there's a real issue with this latest versions of Acceleo?

Thank you for reading.
Re: [Acceleo] Iterate through associated classes [message #902869 is a reply to message #902867] Mon, 20 August 2012 19:04 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi

The 'impossible' also happens to me, so I dive in with the debugger or
'printf' and eventually all becomes clear; either I'm stupid or a
Bugzilla is in order.

Regards

Ed Willink

On 20/08/2012 19:55, Luís de Sousa wrote:
> I'm now using this version of Acceleo:
>
> Acceleo - Text generation from models
> Version: 3.3.0.v20120529-1042
> Build id: S201205291042
>
> But I still get the same results, which don't make same to me. So, am
> I messing up or there's a real issue with this latest versions of
> Acceleo?
>
> Thank you for reading.
Re: [Acceleo] Iterate through associated classes [message #903051 is a reply to message #902869] Tue, 21 August 2012 18:24 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Thanks for the support Ed. Indeed most problems have solutions or remedies, but when you're a PhD student it is often a lonely road there.

In this case the Association class has a property named relatedElement that links to the related Class classes. Thus the iteration can be made this way:

        [for (ass:Association | c.getAssociations()) ]
		[for (rel:Class | ass.relatedElement) ]
			[if (rel.isNull())]
			This related element is null
			[else]
			This related element is: [rel.name/] 
			[/if]
		[/for]
	[/for]


Still, I think memberEnd should also link to the related Class classes, but using relatedElement the code is actually leaner.

Nevertheless, I'm getting a warning on the (rel:Class | ass.relatedElement) statement:

Quote:
Possible incompatible type between 'Class' and 'Set(Element)'.


Possibly because relatedElement is an inherited property and thus can contained other classes beyond Class. Any suggestions on how to do this correctly, without the warning?

Thank you and regards,

Luís
Re: [Acceleo] Iterate through associated classes [message #903067 is a reply to message #903051] Tue, 21 August 2012 19:23 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi
On 21/08/2012 19:24, Luís de Sousa wrote:
>
> Nevertheless, I'm getting a warning on the (rel:Class |
> ass.relatedElement) statement:
>
> Quote:
>> Possible incompatible type between 'Class' and 'Set(Element)'.
>
This is absolutely correct. If you use the type navigator you find that it's

Relationship::relatedElement : Set(Element)

so if you try to use Set(Element) as a source of classes it doesn't like it.

IMHO Associations are best ignored.

What's wrong with Class ... getAllAttributes() ... type ?

Regards

Ed Willink
Re: [Acceleo] Iterate through associated classes [message #903071 is a reply to message #903067] Tue, 21 August 2012 19:44 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I don't have the UML superstructure here but as far as I remember it should actually be enough to get the attributes, which are UML::Property elements and check for the "aggregationKind" (meta)attribute. I'll check today but you can check yourself with this doc http://www.omg.org/spec/UML (download the latest stuperstructure).
Also you hardly need Java Services. For instance the isNull() service might be replaced with

 [if rel.isEmpty()] 


or

 [if rel.isNotEmpty()] 


while to check an applied stereotype you may use getAppliedStereotype('completeStereotypeNameWithNameSpace')
remember to pass the complete stereotype name like 'package1::package2::stereotypeName'
so for instance

[if c.getAppliedStereotype('package1::Stereotype').notEmpty()] ... [/if]


regards


Follow me on Twitter @andreasindico

[Updated on: Tue, 21 August 2012 19:44]

Report message to a moderator

Re: [Acceleo] Iterate through associated classes [message #903251 is a reply to message #903067] Wed, 22 August 2012 17:10 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Hi Ed, thank you for the explanation.

Quote:
What's wrong with Class ... getAllAttributes() ... type ?


I don't know if is wrong or not, but a code block like this:

	[for (ass:Association | c.getAssociations()) ]
                [for (p:Property | ass.getAllAttributes()) ]
			[comment if p.class.isEmpty()/]
			[if (p.class.isNull())]
			Found a property with a null associated class: [p.name/]
			[else]				
			Found an associated class: [p.class.name/]
			[/if]
		[/for]
	[/for]


Generates the following:

			Found a property with a null associated class: car
			Found an associated class: Car


Which certainly isn't what I'm looking for. I'll have to work further on Set(Element).

Best,

Luís
Re: [Acceleo] Iterate through associated classes [message #903255 is a reply to message #903071] Wed, 22 August 2012 17:28 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Hi Andrea, thank you for your input. Let me go though your comments:

Quote:

I don't have the UML superstructure here but as far as I remember it should actually be enough to get the attributes, which are UML::Property elements and check for the "aggregationKind" (meta)attribute. I'll check today but you can check yourself with this doc http://www.omg.org/spec/UML (download the latest stuperstructure).


Using the getAssociations() method I'm getting the exact same set of properties I get when I iterate with the memberEnd property. You can see the results in my previous message.

Quote:
Also you hardly need Java Services. For instance the isNull() service might be replaced with

[if rel.isEmpty()]

or

[if rel.isNotEmpty()]


I'm getting a "cannot find operation" error with any of these methods, and indeed I can't find them with the model browser. But it would be great if something like this exists.

Quote:
while to check an applied stereotype you may use getAppliedStereotype('completeStereotypeNameWithNameSpace')
remember to pass the complete stereotype name like 'package1::package2::stereotypeName'
so for instance

[if c.getAppliedStereotype('package1::Stereotype').notEmpty()] ... [/if]


This method is indeed there, but it always returns null. It might be something with the package name, as you suggest, but my project is pretty straightforward, there's only a folder called "models" where I have all the Papyrus stuff.

I'm using the isNull and hasStereotype services following advice at this forum. Naturally I'd rather stick to OMGM2T.

Regards,

Luís

Re: [Acceleo] Iterate through associated classes [message #903259 is a reply to message #903255] Wed, 22 August 2012 18:00 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi

What's this isNull stuff?

What's wrong with

rel <> null
rel->isEmpty()
rel->notEmpty()
not rel.oclIsUndefined()

Regards

Ed Willink



On 22/08/2012 18:28, Luís de Sousa wrote:
> Hi Andrea, thank you for your input. Let me go though your comments:
>
> Quote:
>> I don't have the UML superstructure here but as far as I remember it
>> should actually be enough to get the attributes, which are
>> UML::Property elements and check for the "aggregationKind"
>> (meta)attribute. I'll check today but you can check yourself with
>> this doc http://www.omg.org/spec/UML (download the latest
>> stuperstructure).
>
>
> Using the getAssociations() method I'm getting the exact same set of
> properties I get when I iterate with the memberEnd property. You can
> see the results in my previous message.
>
> Quote:
>> Also you hardly need Java Services. For instance the isNull() service
>> might be replaced with
>>
>> [if rel.isEmpty()]
>> or
>>
>> [if rel.isNotEmpty()]
>
>
> I'm getting a "cannot find operation" error with any of these methods,
> and indeed I can't find them with the model browser. But it would be
> great if something like this exists.
>
> Quote:
>> while to check an applied stereotype you may use
>> getAppliedStereotype('completeStereotypeNameWithNameSpace')
>> remember to pass the complete stereotype name like
>> 'package1::package2::stereotypeName'
>> so for instance
>>
>> [if c.getAppliedStereotype('package1::Stereotype').notEmpty()] ... [/if]
>
>
> This method is indeed there, but it always returns null. It might be
> something with the package name, as you suggest, but my project is
> pretty straightforward, there's only a folder called "models" where I
> have all the Papyrus stuff.
>
> I'm using the isNull and hasStereotype services following advice at
> this forum. Naturally I'd rather stick to OMGM2T.
> Regards,
>
> Luís
>
>
Re: [Acceleo] Iterate through associated classes [message #903267 is a reply to message #813912] Wed, 22 August 2012 18:51 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

@Luís, empty(), notEmpty() as well as other services (i.e. strings operations, etc.) shall be invoked through ->

when invoking the getAppliedStereotypes you have to provide the complete stereotype name. What is the "Papyrus Stuff" you say? I guess you have defined a profile containing (at least) the stereotype you aim to recognize. How is this profile structured? there should at least be a package containing it. You have to specify that package too.


Follow me on Twitter @andreasindico

[Updated on: Wed, 22 August 2012 18:52]

Report message to a moderator

Re: [Acceleo] Iterate through associated classes [message #903657 is a reply to message #903267] Fri, 24 August 2012 18:10 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Hi Andrea,

Indeed using the "->" indicator I can use those services. Where can I find a list of the available services? This surely looks very useful, but they don't show up in the code completion lists.

I have all models, either Class diagrams or profiles. in a folder named "models", just as it is found in the sample project from the tutorial. I'll create a package and try it out again.

Coming back to the main issue: how would you deal with a the Element set returned by the relatedElement property? Basically I'd need some way of casting from Element to Class, is there a formal way to do it?

Thank you for help,

Luís
Re: [Acceleo] Iterate through associated classes [message #903724 is a reply to message #903657] Sat, 25 August 2012 05:12 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4186
Registered: July 2009
Senior Member
Hi
On 24/08/2012 19:10, Luís de Sousa wrote:
> Hi Andrea,
>
> Indeed using the "->" indicator I can use those services. Where can I
> find a list of the available services?
Have you looked in the Operations section of the Acceleo Documentation?

Have you looked in the OCL Standard Library section of the OCL
documentation?
> This surely looks very useful, but they don't show up in the code
> completion lists.
Content assist is not always perfect;particularly where there are subtle
language rules involved.
>
> I have all models, either Class diagrams or profiles. in a folder
> named "models", just as it is found in the sample project from the
> tutorial. I'll create a package and try it out again.
>
> Coming back to the main issue: how would you deal with a the Element
> set returned by the relatedElement property? Basically I'd need some
> way of casting from Element to Class, is there a formal way to do it?
The original problem seemed to be that you were using the wrong access
and so got a subtype response.

Have you looked at oclAsType() ?

Regards

Ed Willink
Re: [Acceleo] Iterate through associated classes [message #903729 is a reply to message #903724] Sat, 25 August 2012 07:29 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I guess you are also confusing Java packages with UML packages (in the model)

Follow me on Twitter @andreasindico

Re: [Acceleo] Iterate through associated classes [message #906506 is a reply to message #903724] Sat, 01 September 2012 17:59 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Hi Ed,

First of all thank you for keeping this thread alive; I'm sorry if the questions I'm posting have obvious answers, but I can assure you I'd rather be programming than posting.

Quote:
Have you looked in the Operations section of the Acceleo Documentation?


I'd previously went through the Acceleo operations list and I can't find there any reference to services like isEmpty, empty, noEmpty, etc. I'm using this page, perhaps not the right place?

Quote:
Have you looked in the OCL Standard Library section of the OCL
documentation?


I haven't read the OCL Standard Library, but at the moment of this writing it doesn't seem to be accessible. I'm using this address, hope it is right.

Quote:
Content assist is not always perfect;particularly where there are subtle
language rules involved.


I don't mind that, as long as it is documented somewhere.

Quote:
The original problem seemed to be that you were using the wrong access
and so got a subtype response.

Have you looked at oclAsType() ?


Indeed, oclAsType() was what I was looking for. Thank you once more,

Luís

[Updated on: Sat, 01 September 2012 18:01]

Report message to a moderator

Re: [Acceleo] Iterate through associated classes [message #906532 is a reply to message #903729] Sat, 01 September 2012 19:43 Go to previous message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 155
Registered: July 2009
Senior Member
Andrea Sindico wrote on Sat, 25 August 2012 03:29
I guess you are also confusing Java packages with UML packages (in the model)


Yes, that's right, I don't even know what a UML package is, I'm sorry. I'll go back to the Papyrus documentation.

Luís
Previous Topic:[Acceleo] problem with primitive types when executed as Java application
Next Topic:[Acceleo] Capability Question
Goto Forum:
  


Current Time: Thu Dec 18 21:20:30 GMT 2014

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

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