Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [MTL] UML primitive type problems
[MTL] UML primitive type problems [message #55910] Thu, 22 January 2009 13:36 Go to next message
Max Bureck is currently offline Max BureckFriend
Messages: 72
Registered: July 2009
Member
Hello,

I am using MTL with UML, but I ran into problems when using primitive
types from the UML standard-library. When I model attributes of a
primitive type in classes in my input-models I cannot access any
properties of that types. E.g. I cannot access the name of the primitive
types.
Since the primitive types are defined in
pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml these there are
inter-model references in my input-models. It seems that this leads to
proxy-elements in the in-memory representation (eIsProxy() returns true).
Is there a problem with MTL and proxy-elements?

Greetings,
Max
Re: [MTL] UML primitive type problems [message #55978 is a reply to message #55910] Thu, 22 January 2009 16:13 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040509090604090809090209
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Max,

For the UML2Java example we have in MTL, we had defined our own
primitive types. We then never encountered this issue :(. As this is
most probably a bug, could you raise a bugzilla describing this issue?

Thanks

Laurent Goubet
Obeo

Max Bureck a
Re: [MTL] UML primitive type problems [message #56085 is a reply to message #55978] Fri, 23 January 2009 10:44 Go to previous messageGo to next message
Max Bureck is currently offline Max BureckFriend
Messages: 72
Registered: July 2009
Member
Hello,

I just created a bug-entry for that issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=262140

For now I also use my own primitive types.

Greetings,
Max
Re: [MTL] UML primitive type problems [message #56162 is a reply to message #56085] Fri, 23 January 2009 12:17 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020704050203060207070707
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Thanks Max,

We'll try and get a look at this ASAP. This is most probably a problem
with the pathmap:// like uris :(.

laurent Goubet
Obeo

Max Bureck a
Previous Topic:JET: accessing JET variables from inline java
Next Topic:generating java code out of uml activity diagrams with Xpand2
Goto Forum:
  


Current Time: Wed Apr 24 14:10:30 GMT 2024

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

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

Back to the top