[Uml-devel] Using external library.

Skip Huffman skiphuffman at gmail.com
Wed Feb 8 18:49:00 UTC 2012


Thanks Andi.  I will give that a try!

On Wed, Feb 8, 2012 at 12:56 PM, Andi Fischer <andi.fischer at hispeed.ch>wrote:

> Am 08.02.2012 13:24, schrieb Skip Huffman:
>
>> Resending this, since I never saw it on the list yesterday.
>>
>> On Tue, Feb 7, 2012 at 9:43 AM, Skip Huffman <skiphuffman at gmail.com<mailto:
>> skiphuffman at gmail.com>**> wrote:
>>
>>    How can I include an external library (in my case the standard
>>    library "time") so that the source code that I include in the
>>    diagram and export with the code generator can use it.
>>
>>    Right now I have to go into the generated files and add the
>>    "import time" to the top  of the files.
>>
>>
>>  Hi Skip,
>
> See attached screen shot, which will probably not find its way to the list.
> I added a class "time" and a class "MyClass". Then I added an attribute
> "m_localTime" of type "time" to "MyClass".
>
> When I generate C++ code, I can find the include of time.h. Works also for
> python.
> Unfortunately this seems not to work for Java or C#.
>
> Regards,
>
> Andi
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20120208/4d52d1b7/attachment.html>


More information about the umbrello-devel mailing list