public class UIContextImpl extends AbstractUIContext
| Constructor and Description |
|---|
UIContextImpl(boolean gui,
UISelection<?> selection) |
UIContextImpl(UIProvider provider,
Iterable<UIContextListener> listeners,
UISelection<Resource<?>> initialSelection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> UISelection<T> |
getInitialSelection()
Get the user's
UISelection at the time this command was initialized/selected. |
UIProvider |
getProvider()
Returns the
UIProvider that created this UIContext object. |
void |
init() |
<T> void |
setInitialSelection(T... selection) |
addCommandExecutionListener, clearListeners, getAttributeMap, getListeners, getSelection, setSelectionpublic UIContextImpl(boolean gui,
UISelection<?> selection)
public UIContextImpl(UIProvider provider, Iterable<UIContextListener> listeners, UISelection<Resource<?>> initialSelection)
public <T> void setInitialSelection(T... selection)
public <T> UISelection<T> getInitialSelection()
UIContextUISelection at the time this command was initialized/selected. (Never null.)public void init()
public void close()
close in interface AutoCloseableclose in class AbstractUIContextpublic UIProvider getProvider()
UIContextgetProvider in interface UIContextgetProvider in class AbstractUIContextCopyright © 2014 JBoss by Red Hat. All rights reserved.