public interface UIProviderRegistry
Modifier and Type | Field and Description |
---|---|
static UIProviderRegistry |
INSTANCE
This is the Instance to use for the
UIProviderRegistry . |
Modifier and Type | Method and Description |
---|---|
UIProvider |
getUIProvider(Object adaptable)
It the adaptable is ECPProviderAware then the
UIProvider that corresponds to the
ECPProvider is
returned. |
UIProvider |
getUIProvider(String name)
Returns the
UIProvider by its name. |
Collection<UIProvider> |
getUIProviders()
Returns all known
UIProvider . |
boolean |
hasUIProviders()
Whether any
UIProvider are registered. |
static final UIProviderRegistry INSTANCE
UIProviderRegistry
.UIProvider getUIProvider(Object adaptable)
UIProvider
that corresponds to the
ECPProvider
is
returned. Otherwise the AdapterUtil tries to resolve this.adaptable
- the Object to adaptUIProvider
or null if none was foundUIProvider getUIProvider(String name)
UIProvider
by its name.name
- the name of the ui providerUIProvider
or null if none was foundCollection<UIProvider> getUIProviders()
UIProvider
.UIProvider
boolean hasUIProviders()
UIProvider
are registered.UIProvider
is registered, false otherwiseCopyright © 2018. All rights reserved.