AnsweredAssumed Answered

Annotation to load combobox items from a external file datasource

Question asked by cortelos on Aug 30, 2014
Latest reply on Aug 30, 2014 by jbarrez

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" })
   private String destinationDevice;

Any interest in include this in the designer source code?

I put two patchs in my dropbox account with the changes I made.

André Macedo.