Constructor for a new UIManager. This registry creates and manages default persistence providers for each persistence mode. It is intended for use cases where no dedicated provider can or should be created by an application. The UIManager currently resides in the Engine and must never be called separately.
new sap.ui.mdc.p13n.UIManager()
Method | Description |
---|---|
sap.ui.mdc.p13n.UIManager._checkValidInterface |
Checks if the UIManager has been initialized with a valid AdaptationProvider interface. |
create |
This method can be used to create a customized P13nUI without using the default implementation of |
sap.ui.mdc.p13n.UIManager.extend |
Creates a new subclass of class sap.ui.mdc.p13n.UIManager with name
|
sap.ui.mdc.p13n.UIManager.getInstance |
This method is the central point of access to the UIManager Singleton. |
sap.ui.mdc.p13n.UIManager.getMetadata |
Returns a metadata object for class sap.ui.mdc.p13n.UIManager. |
show |
Opens a personalization Dialog according to the provided Controller in the registration that the Engine can find for the Control and key. |
Checks if the UIManager has been initialized with a valid AdaptationProvider interface.
Param | Type | DefaultValue | Description |
---|---|---|---|
oAdaptationProvider | sap.ui.mdc.AdaptationProvider |
This method can be used to create a customized P13nUI without using the default implementation of Engine#showUI
which will use all properties available by default.
Param | Type | DefaultValue | Description |
---|---|---|---|
vControl | sap.ui.mdc.Control |
The registered control instance |
|
sKey | string |
The key for the according Controller |
|
aCustomInfo | Object[] |
A custom set of propertyinfos as base to create the UI |
Creates a new subclass of class sap.ui.mdc.p13n.UIManager with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.base.Object.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
This method is the central point of access to the UIManager Singleton.
Returns a metadata object for class sap.ui.mdc.p13n.UIManager.
Opens a personalization Dialog according to the provided Controller in the registration that the Engine can find for the Control and key.
Param | Type | DefaultValue | Description |
---|---|---|---|
vControl | sap.ui.mdc.Control |
The registered control instance |
|
vKey | string |
The key(s) for the according Controller |
|
oSource | sap.ui.core.Control |
The source to be used. This may only be relevant in case the corresponding Controller is configured for liveMode |