public final class SettingsUIRegistry
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static SettingsCustomizations |
getCustomizations()
Returns a SettingsCustomizations object which provides access
to customizations to settings UI installed by roles or extensions.
|
static java.util.Collection<Navigable> |
getExtensionNavigables(java.lang.String dialogId)
Returns a collection of Navigables for all pages registered as direct
children of the specified dialog in the extension manifests of loaded
extensions.
|
static SettingsPageCustomizationHelper |
getHelper(Traversable t,
java.lang.String pageId)
Returns a helper that can be used to automatically enable / disable
and show / hide components on a page based on customization information.
|
static java.lang.String |
getObjectLabel(java.lang.String dialogId)
Returns the object label for the specified dialog ID.
|
public static SettingsPageCustomizationHelper getHelper(Traversable t, java.lang.String pageId)
t
- the traversable the helper will customize.pageId
- the id path of the page to customize.public static final SettingsCustomizations getCustomizations()
public static final java.util.Collection<Navigable> getExtensionNavigables(java.lang.String dialogId)
The returned navigables are prepopulated with all children that are registered via extension manifests.
The returned collection of Navigables does not include any navigables registered programmatically with
dialogId
- the id of a dialog registered in the settings-ui-hook.
Must not be null.java.lang.NullPointerException
- if dialogId is null.public static final java.lang.String getObjectLabel(java.lang.String dialogId)