File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/ui Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 31
31
import org .jboss .forge .addon .ui .context .UIContext ;
32
32
import org .jboss .forge .addon .ui .context .UIExecutionContext ;
33
33
import org .jboss .forge .addon .ui .context .UISelection ;
34
+ import org .jboss .forge .addon .ui .hints .InputType ;
34
35
import org .jboss .forge .addon .ui .input .UIInput ;
35
36
import org .jboss .forge .addon .ui .input .UISelectOne ;
36
37
import org .jboss .forge .addon .ui .metadata .UICommandMetadata ;
@@ -60,7 +61,7 @@ public class NewNamedQueryCommand extends AbstractJavaEECommand
60
61
private UIInput <String > query ;
61
62
62
63
@ Inject
63
- @ WithAttributes (label = "Target Entity" , required = true )
64
+ @ WithAttributes (label = "Target Entity" , required = true , type = InputType . DROPDOWN )
64
65
private UISelectOne <JavaResource > targetEntity ;
65
66
66
67
@ Override
You can’t perform that action at this time.
0 commit comments