Ok, that partially works.  But not entirely. Also instead of importing "time"  it tries to import "Time".  The capitalization is correct in the umbrello model, just not in the generated code.<br><br>Let me restate the question a bit.  <br>
<br>If I were hand coding the library instead of using Umbrello to generate it, I would include several lines at the top:<br><br>from selenium.webdriver.support.ui import WebDriverWait<br>from selenium.common.exceptions import *<br>
import time<br><br>(Those are all external libraries.  One third party, and one standard library.)<br><br>How can I set up the umbrello model to include these same lines in particular classes?<br><br>Thanks<br><br><br><div class="gmail_quote">
On Wed, Feb 8, 2012 at 1:49 PM, Skip Huffman <span dir="ltr"><<a href="mailto:skiphuffman@gmail.com">skiphuffman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Andi.  I will give that a try!<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 12:56 PM, Andi Fischer <span dir="ltr"><<a href="mailto:andi.fischer@hispeed.ch" target="_blank">andi.fischer@hispeed.ch</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 08.02.2012 13:24, schrieb Skip Huffman:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Resending this, since I never saw it on the list yesterday.<br>
<br></div><div>
On Tue, Feb 7, 2012 at 9:43 AM, Skip Huffman <<a href="mailto:skiphuffman@gmail.com" target="_blank">skiphuffman@gmail.com</a> <mailto:<a href="mailto:skiphuffman@gmail.com" target="_blank">skiphuffman@gmail.com</a>><u></u>> wrote:<br>


<br>
    How can I include an external library (in my case the standard<br>
    library "time") so that the source code that I include in the<br>
    diagram and export with the code generator can use it.<br>
<br>
    Right now I have to go into the generated files and add the<br>
    "import time" to the top  of the files.<br>
<br>
<br>
</div></blockquote>
Hi Skip,<br>
<br>
See attached screen shot, which will probably not find its way to the list.<br>
I added a class "time" and a class "MyClass". Then I added an attribute "m_localTime" of type "time" to "MyClass".<br>
<br>
When I generate C++ code, I can find the include of time.h. Works also for python.<br>
Unfortunately this seems not to work for Java or C#.<br>
<br>
Regards,<br>
<br>
Andi<br>
<br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>