Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [MTL] Add custom function for special formatting?
[MTL] Add custom function for special formatting? [message #57343] Fri, 13 February 2009 02:58 Go to next message
Eclipse UserFriend
Hi all,

during code generation I have to format a java.util.Date in a very
special way, that can only be done in java code (not ocl or mtl). I dont
want to have the formatted date be a property of my model. Is there a
way to extend the MTL function library (or maybe the OCL library) and
add a custom date formatter function?

Thanks in advance,
Andreas
Re: [MTL] Add custom function for special formatting? [message #57369 is a reply to message #57343] Fri, 13 February 2009 03:54 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------090904090804020203020207
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Andreas,

There currently is no way to extend the operations library other than
patching MTL itself. We will provide hooks in the future for such needs,
but it isn't the top priority for now with the galileo release.

Laurent Goubet
Obeo

Andreas Voss a
Previous Topic:[Announce] M2T XPAND 0.7.0 I200902121838 is available
Next Topic:[MTL] How to register ecore metamodel for the editor?
Goto Forum:
  


Current Time: Thu May 22 19:14:17 EDT 2025

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

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

Back to the top