Uiml.net Tool and Libary Overview
Basic Components
Uiml.net is a user interface creation library, that converts a user interface
described as a UIML file into a working user interface on the .Net virtual machine. Uiml.net
can be used with multiple widget sets, like Gtk-sharp,
System.Windows.Forms and
Wx.NET. It is truly multi-platform: it works with Mono,
Microsoft .Net Framework
and Microsoft Compact .Net Framework.
The Uiml.net software is packaged as a set of libraries:
uiml.net.dll
Is the core library: it contains the software that reads and processes an UIML document.
It can be linked with your application and used from within your application as shown in example .
There is also a front-end application the offers a command line interface or a graphical interface for the uiml.net.dll library;
uiml.net.exe. Uiml.net.dll also contains all the core functionality to render a UIML file, but it
can only render the user interface if there is a matching widget set backend available for the widget set that is referenced
by the UIML vocabulary. Each supported widget-set is packaged as a separate assembly.
A simple UIML front-end user interface to illustrate Connect
uiml-<widgetset>.dll
A set of separate assemblies, each containing widget-set specific rendering code. These assemblies are very small,
since the core functionality is contained in uimnl.net.dll. Currently, uiml-compact-swf.dll, uiml-gtk-sharp.dll,
uiml-swf.dll and uiml-wx-net.dll can be used. Just drop these in the same directory as uiml.net.dll so the rendering
library can find them and load them on-demand.
uiml.net.exe
A front-end for the library, that supports easy testing of UIML documents. Both a command-line tool and a graphical
interface can be used.
Usage of the Front-end
This section discusses how the Uiml.net front-ends can be used to test your UIML documents. For each platform is a front-end available
that allows you to load a UIML document and render it for the current platform. The front-ends are fairly simple: their task is limited to
allow you to load and render the UIML document. Each subsection is devoted to a separate platform that can be used. The front-ends are included
in one of the precompiled versions of an uiml.net executable.
Notice these front-ends are just to help you to test your UIML files with uiml.net. It is not meant to be deployed with your final application;
for this purpose you can link with the uiml.net.dll library and bundle it with the preferred back-end(s).
Command Line tool
This front-end allows you to specify options for the uiml.net executable on the command line. Just start “uiml.net.exe” without
options to see all possible options and a short explanation for each option. You can specify a UIML file and one or more libraries to
be linked with your UIML file.
Gtk# front-end
This front-end gives you a simple Gtk# front-end to open an UIML file and select one or more libraries that have to be linked with your
UIML file.
System.Windows.Forms front-end
This front-end gives you a simple System.Windows.Forms front-end to open an UIML file and select one or more libraries that have to be linked with your
UIML file.
Compact.Windows.Forms front-end
This front-end gives you a simple Compact System.Windows.Forms front-end to open an UIML file and select one or more libraries that have to be linked with your
UIML file.