Com\’è dura la professione!

24 settembre 2010

Generate Flex Code from Balsamiq Mockup Sources

Archiviato in: Flex,Open Source,QT — lbell @ 22:07

Having the need to generate an application skeleton after having created the mockup using Balsamiq (http://www.balsamiq.com), and to poke into its file format, as explained in the page http://balsamiq.com/products/mockups/help/bmml, I wrote a plugin for my Open Source project QXmlEdit.

It is very easy to use, but you should remember that it is a very simple tool and not a full fledged IDE.

The plugin can be activated via ‘Tools’ menu, as in the following screenshot:



The plugin window is divided in two: the upper part is dedicated to the Balsamiq sources to translate, the bottom one contains the destination directory where a MXML Application file is generated for each selected source file.

The translation is done by transforming the source using templates that can refer original attributes or calculated fields.

Data bound controls are supported by generating data sources as mx:Array containing mx:Object in a global section.

Not all Balsamiq controls are supported, only a subset of most commonly used ones, controls not supported are converted to mx:Label

List of supported controls:

  • Button

  • Label

  • LinkBar

  • DataGrid

  • List

  • TabBar

  • VRule

  • HRule

  • TextInput

  • ComboBox

  • TextArea

  • Paragraph

  • CheckBox

  • RadioButton

  • Tree

About these ads

2 commenti »

  1. I’m truly enjoying the design and layout of your blog. It’s
    a very easy on the eyes which makes it much more pleasant
    for me to come here and visit more often. Did you hire out a designer to create your theme?
    Exceptional work!

    Commento di click this site — 17 maggio 2013 @ 3:28 | Risposta

  2. My name is %name&% and first off I would like to say outstanding website.
    If you don’t mind, I just have one quick question. I was interested to learn about how you focus yourself and open up your mind before writing. Lately I just can’t get my head clear so
    that I’m completely ready to concentrate on my ideas. I love writing once I get into it, but most of the time I feel as if I end up losing the first 10 to fifteen minutes forcing myself to concentrate. Do you have any advice or techniques?

    Commento di happynessisblog.blogspot.com — 20 maggio 2013 @ 11:11 | Risposta


RSS feed dei commenti a questo articolo. TrackBack URI

Lascia un Commento

Fill in your details below or click an icon to log in:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Connessione a %s...

Tema: Rubric. Blog su WordPress.com.

Iscriviti

Ricevi al tuo indirizzo email tutti i nuovi post del sito.

%d bloggers like this: