Abstract VO aggregation container. This element implements the common part for VOs. It must not be used directly, but is the base for further extension.
Constructor for a new VoAbstract.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
This class does not have its own settings, but all settings applicable to the base type sap.ui.core.Element can be used.
new sap.ui.vbm.VoAbstract(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | id for the new control, generated automatically if no id is given |
|
mSettings? | object | initial settings for the new control |
Method | Description |
---|---|
sap.ui.vbm.VoAbstract.extend |
Creates a new subclass of class sap.ui.vbm.VoAbstract with name
|
sap.ui.vbm.VoAbstract.getMetadata |
Returns a metadata object for class sap.ui.vbm.VoAbstract. |
openContextMenu |
Open a context menu |
Creates a new subclass of class sap.ui.vbm.VoAbstract 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.core.Element.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 |
Open a context menu
Param | Type | DefaultValue | Description |
---|---|---|---|
sType | string |
Type of VO |
|
oVoInst | sap.ui.vbm.VoBase |
VO instance for which the Context Menu should be opened |
|
oMenu | sap.ui.unified.Menu |
the context menu to be opened |