]
Claus Ibsen updated FORGE-2342:
-------------------------------
Attachment: forge-edit.png
Forge Command Wizard Step - Editing boolean types should be a [x] in
the UI
---------------------------------------------------------------------------
Key: FORGE-2342
URL:
https://issues.jboss.org/browse/FORGE-2342
Project: Forge
Issue Type: Enhancement
Affects Versions: 2.16.0.Final
Environment: Eclipse Mars with latest JBoss Tools Alpha 2 with Forge 2.16.0
Reporter: Claus Ibsen
Attachments: forge-edit.png
We have a bunch of Camel forge commands. One command is able to edit Camel endpoints
using a wizard, where each of the endpoint options is listed in the UI and editable.
See screenshot.
There is a bunch of options which is boolean type. I would like the editor to use a
boolean kind of UI instead.
We have this helper to create the UI element
https://github.com/fabric8io/fabric8/blob/master/forge/addons/camel/src/m...
When its a boolean type we use some logic to compute which .class type that is
https://github.com/fabric8io/fabric8/blob/master/forge/addons/camel/src/m...
For example the deamon option has this meta-data
{code}
"daemon": { "kind": "parameter", "type":
"boolean", "javaType": "boolean", "deprecated":
"false", "defaultValue": "true", "description":
"Specifies whether or not the thread associated with the timer endpoint runs as a
daemon. The default value is true." },
{code}
I wonder if Forge has UI elements for boolean types?