public interface UIContext
UIContext holds information about the environment the UICommand is being run, such as the initial
selection and attributes that could be shared among several UIWizardStep of a single UIWizard
instance| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(Object key)
|
<SELECTIONTYPE> |
getInitialSelection()
Get the user's initial selection.
|
<SELECTIONTYPE> |
getSelection()
Returns the selection passed on the
setSelection(Object) method or null if no selection is
needed for this interaction |
Object |
removeAttribute(Object key)
|
void |
setAttribute(Object key,
Object value)
|
<SELECTIONTYPE> |
setSelection(SELECTIONTYPE resource)
Sets the current selection.
|
<SELECTIONTYPE> UISelection<SELECTIONTYPE> getInitialSelection()
<SELECTIONTYPE> void setSelection(SELECTIONTYPE resource)
resource - the resource to be selected<SELECTIONTYPE> SELECTIONTYPE getSelection()
setSelection(Object) method or null if no selection is
needed for this interactionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.