PDA

View Full Version : import statement in LZX files


johncorro
11-22-2004, 09:27 AM
I think one thing that would be nice is to be able to declare a class as belonging to a package.

<library>
<class name="Bar" package="com.foo">
</class>
</library>

Then when you use that component, instead of doing an <include/> to pull the file in, you just do an

<import class="com.foo.Bar">
or
<import class="com.foo.*">

The advantage to this is that you don't have to worry about pathing issues when depending on external resources like images or other media.