public class Commands extends Object
| Constructor and Description |
|---|
Commands() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<UICommand> |
getEnabledCommands(Iterable<UICommand> commands,
UIContext context)
Returns the main commands from this
Iterable (that is, the ones that are enabled and not a
UIWizardStep instance) |
static boolean |
isEnabled(UICommand command,
UIContext context)
Returns true if this command can be invoked
|
Copyright © 2015 JBoss by Red Hat. All rights reserved.