Activiti/Activiti-Designer — pull request #23 by cortelos (2014-08-30 20:29:18+00:00)
Title: Annotation to load combobox items from a external file datasource

Hi,

I build a new annotation which make possible to load combobox property items from a datasource (at this moment only filebased is support, but it's easy to provide new ways). With annotation it's now possible to load values on the combobox wich depends of some external sources. Here is an example:

@Property(type = PropertyType.COMBOBOX_CHOICE, displayName = "Destination Device", required = true)
@Help(displayHelpShort = "Destination Device", displayHelpLong = "The name of the destination device to transfer the file.")
@PropertyItems({ "OLD 1", "OLD 2" })
@PropertyItemsDataSource(filename="D:/valueList.txt")
private String destinationDevice;

Any interest in include this in the designer source code?

Regards,

André Macedo.