sap.ui.ux3.Shell.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.ux3.Shell 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.Control.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.ui.ux3.Shell.
Returns:
Adds some content to the aggregation content
.
Parameters:
Returns:
Adds some headerItem to the aggregation headerItems
.
Parameters:
Returns:
Adds some paneBarItem to the aggregation paneBarItems
.
Parameters:
{sap.ui.core.Item} | oPaneBarItem | the paneBarItem to add; if empty, nothing is inserted |
Returns:
Adds some paneContent to the aggregation paneContent
.
Parameters:
Returns:
Adds some toolPopup to the aggregation toolPopups
.
Parameters:
Returns:
Adds some worksetItem to the aggregation worksetItems
.
Parameters:
Returns:
Attaches event handler
fnFunction
to the
feedSubmit
event of this
sap.ui.ux3.Shell
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.ux3.Shell
itself.
Fired when a new feed entry is submitted.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.ux3.Shell itself |
Returns:
Attaches event handler
fnFunction
to the
logout
event of this
sap.ui.ux3.Shell
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.ux3.Shell
itself.
Fired when the user clicks the "Log-off" button
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.ux3.Shell itself |
Returns:
Attaches event handler
fnFunction
to the
paneBarItemSelected
event of this
sap.ui.ux3.Shell
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.ux3.Shell
itself.
An item in the right-hand-side pane bar has been selected, the pane is now visible and can be filled with UI elements.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.ux3.Shell itself |
Returns:
Attaches event handler
fnFunction
to the
paneClosed
event of this
sap.ui.ux3.Shell
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.ux3.Shell
itself.
Fired after a side pane of the shell is closed. It is also fired, when an open pane is closed by calling setShowPane(false), if and only if the pane was opened before.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.ux3.Shell itself |
- Since:
- 1.12.0
Returns:
Attaches event handler
fnFunction
to the
search
event of this
sap.ui.ux3.Shell
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.ux3.Shell
itself.
Fired when search has been triggered.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.ux3.Shell itself |
Returns:
Attaches event handler
fnFunction
to the
worksetItemSelected
event of this
sap.ui.ux3.Shell
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.ux3.Shell
itself.
Fired when a workset item was selected by the user. The application may populate the sub-items of the given workset item in the event handler, but this must happen synchronously. If this is done, the application is responsible for displaying the correct content for the selected one of the newly created sub-items. The Shell will currently always mark the first sub-item as selected.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.ux3.Shell itself |
Returns:
Closes the side Pane (if open).
Returns 'this' to allow method chaining.
Returns:
Destroys all the content in the aggregation content
.
Returns:
Destroys all the headerItems in the aggregation headerItems
.
Returns:
Destroys the notificationBar in the aggregation notificationBar
.
- Since:
- 1.7.0
Returns:
Destroys all the paneBarItems in the aggregation paneBarItems
.
Returns:
Destroys all the paneContent in the aggregation paneContent
.
Returns:
Destroys all the toolPopups in the aggregation toolPopups
.
Returns:
Destroys all the worksetItems in the aggregation worksetItems
.
Returns:
Detaches event handler
fnFunction
from the
feedSubmit
event of this
sap.ui.ux3.Shell
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
logout
event of this
sap.ui.ux3.Shell
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
paneBarItemSelected
event of this
sap.ui.ux3.Shell
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
paneClosed
event of this
sap.ui.ux3.Shell
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Since:
- 1.12.0
Returns:
Detaches event handler
fnFunction
from the
search
event of this
sap.ui.ux3.Shell
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
worksetItemSelected
event of this
sap.ui.ux3.Shell
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Fires event feedSubmit
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event logout
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event
paneBarItemSelected
to attached listeners.
Expects the following event parameters:
id
of type string
The ID of the selected PaneBarItem.item
of type sap.ui.core.Item
The selected Itemkey
of type string
The key of the selected Item (or null if there is no key)
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event
paneClosed
to attached listeners.
Expects the following event parameters:
id
of type string
The id of the PaneBarItem to which the closed pane belonged.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Since:
- 1.12.0
Returns:
Fires event search
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
fireWorksetItemSelected(mArguments?): boolean
Fires event
worksetItemSelected
to attached listeners.
Listeners may prevent the default action of this event by using the preventDefault
-method on the event object.
Expects the following event parameters:
id
of type string
The id of the workset item that has been newly selected by the user. If a top-level item has been clicked which has sub-items, the ID of the currently active sub-item (/leaf) is given.item
of type sap.ui.ux3.NavigationItem
The selected NavigationItemkey
of type string
The key of the selected NavigationItem (or null if there is no key)
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
{boolean} | Whether or not to prevent the default action |
getAllowOverlayHeaderAccess(): boolean
Gets current value of property
allowOverlayHeaderAccess
.
Whether the Shell header (Title Area + Header Items) can be accessed when an Overlay, OverlayContainer or ThingInspector is open.
Default value is false
.
- Since:
- 1.14.0
Returns:
{boolean} | Value of property allowOverlayHeaderAccess |
Gets current value of property
appIcon
.
The URL of the image to appear in the left part of the header, usually a branding image containing a logo and/or product name. appIcon and appTitle are both optional and can both be set; in this case the icon appears first. If the appIcon is set, for accessibility reasons the appIconTooltip must also be set.
Returns:
getAppIconTooltip(): string
Gets current value of property
appIconTooltip
.
The tooltip of the application icon in the header
Returns:
{string} | Value of property appIconTooltip |
getApplyContentPadding(): boolean
Gets current value of property
applyContentPadding
.
Whether the Shell content area should have a theme-dependent padding or not.
Default value is true
.
- Since:
- 1.9.0
Returns:
{boolean} | Value of property applyContentPadding |
getAppTitle(): string
Gets current value of property
appTitle
.
The application title to appear in the left part of the header, usually a company and/or product name. appIcon and appTitle are both optional and can both be set; in this case the icon appears first.
Returns:
{string} | Value of property appTitle |
Gets content of aggregation
content
.
The content to appear in the main canvas. Each modification of this aggregation leads to a re-rendering of the content area - but not to a re-rendering of the complete Shell.
Returns:
Gets current value of property
designType
.
Defines which design type is to be used.
Default value is Standard
.
- Since:
- 1.12.0
Returns:
getFullHeightContent(): boolean
Gets current value of property
fullHeightContent
.
If set to true, the content area has a defined height. This means that any content put inside can use "100%" height in CSS and will then consume all available space. However, if content is larger, scrollbars will appear at the content area of the Shell and not on window level.
Default value is false
.
- Since:
- 1.9.0
Returns:
{boolean} | Value of property fullHeightContent |
Gets content of aggregation
headerItems
.
Controls to appear in the header next to the logout button. It is recommended to only use controls of type Button, MenuButton and TextView. The respective UI guidelines need to be enforced on a higher level.
Returns:
Gets current value of property
headerType
.
Defines which header type to be used. Depending on the header type some other functionality might be obsolete.
Default value is Standard
.
Returns:
getLogoutButtonTooltip(): string
Gets current value of property
logoutButtonTooltip
.
The tooltip to be displayed for the Logout Button of the Shell. If not set, a text meaning "Logout" in the current language will be displayed.
- Since:
- 1.9.0
Returns:
{string} | Value of property logoutButtonTooltip |
Gets content of aggregation
notificationBar
.
The NotificationBar which should be integrated into the Shell.
- Since:
- 1.7.0
Returns:
Gets content of aggregation
paneBarItems
.
The items to appear in the PaneBar.
Returns:
Gets content of aggregation
paneContent
.
The content to appear in the pane area.
Returns:
getPaneWidth(): int
Gets current value of property
paneWidth
.
The width of the right-hand side pane in pixels. The value must be a non-negative integer. The Shell reserves the right to define a minimum width (currently 50px).
Default value is 250
.
Returns:
{int} | Value of property paneWidth |
Returns the SearchField control which is used in the Search Tool.
Returns:
ID of the element which is the current target of the association selectedWorksetItem
, or null
.
Returns:
getShowFeederTool(): boolean
Gets current value of property
showFeederTool
.
Whether the "Feeder" tool should be displayed or not.
Default value is true
.
Returns:
{boolean} | Value of property showFeederTool |
getShowLogoutButton(): boolean
Gets current value of property
showLogoutButton
.
Whether the Logoff button in the header should be displayed or not.
Default value is true
.
Returns:
{boolean} | Value of property showLogoutButton |
getShowPane(): boolean
Gets current value of property
showPane
.
Whether the pane bar should be displayed at all or not.
Default value is true
.
Returns:
{boolean} | Value of property showPane |
getShowSearchTool(): boolean
Gets current value of property
showSearchTool
.
Whether the "Global Search" tool should be displayed or not.
Default value is true
.
Returns:
{boolean} | Value of property showSearchTool |
getShowTools(): boolean
Gets current value of property
showTools
.
Whether the tool area should be displayed at all or not.
Default value is true
.
Returns:
{boolean} | Value of property showTools |
Gets content of aggregation
toolPopups
.
The items which appear in the ToolPalette and are opened as popup when clicked.
Returns:
Gets content of aggregation
worksetItems
.
The workset items.
Returns:
indexOfContent(oContent): int
Checks for the provided sap.ui.core.Control
in the aggregation content
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfHeaderItem(oHeaderItem): int
Checks for the provided sap.ui.core.Control
in the aggregation headerItems
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfPaneBarItem(oPaneBarItem): int
Checks for the provided sap.ui.core.Item
in the aggregation paneBarItems
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfPaneContent(oPaneContent): int
Checks for the provided sap.ui.core.Control
in the aggregation paneContent
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfToolPopup(oToolPopup): int
Checks for the provided sap.ui.ux3.ToolPopup
in the aggregation toolPopups
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfWorksetItem(oWorksetItem): int
Checks for the provided sap.ui.ux3.NavigationItem
in the aggregation worksetItems
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
initializePersonalization(oSettings): void
Experimental method! Do not use!
Makes Shell personalization available and injects the given personalization settings. This should be called before the user can do any adaptations per drag&drop or using the personalization dialog. Otherwise it may override the user's new settings.
Parameters:
{object} | oSettings | Personalization settings object |
Inserts a content into the aggregation content
.
Parameters:
{sap.ui.core.Control} | oContent | the content to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the content should be inserted at; for a negative value of iIndex , the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position |
Returns:
Inserts a headerItem into the aggregation headerItems
.
Parameters:
{sap.ui.core.Control} | oHeaderItem | the headerItem to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the headerItem should be inserted at; for a negative value of iIndex , the headerItem is inserted at position 0; for a value greater than the current size of the aggregation, the headerItem is inserted at the last position |
Returns:
Inserts a paneBarItem into the aggregation paneBarItems
.
Parameters:
{sap.ui.core.Item} | oPaneBarItem | the paneBarItem to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the paneBarItem should be inserted at; for a negative value of iIndex , the paneBarItem is inserted at position 0; for a value greater than the current size of the aggregation, the paneBarItem is inserted at the last position |
Returns:
Inserts a paneContent into the aggregation paneContent
.
Parameters:
{sap.ui.core.Control} | oPaneContent | the paneContent to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the paneContent should be inserted at; for a negative value of iIndex , the paneContent is inserted at position 0; for a value greater than the current size of the aggregation, the paneContent is inserted at the last position |
Returns:
Inserts a toolPopup into the aggregation toolPopups
.
Parameters:
{sap.ui.ux3.ToolPopup} | oToolPopup | the toolPopup to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the toolPopup should be inserted at; for a negative value of iIndex , the toolPopup is inserted at position 0; for a value greater than the current size of the aggregation, the toolPopup is inserted at the last position |
Returns:
Inserts a worksetItem into the aggregation worksetItems
.
Parameters:
{sap.ui.ux3.NavigationItem} | oWorksetItem | the worksetItem to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the worksetItem should be inserted at; for a negative value of iIndex , the worksetItem is inserted at position 0; for a value greater than the current size of the aggregation, the worksetItem is inserted at the last position |
Returns:
isPaneOpen(): boolean
Returns 'true' if the side Pane is currently open.
Returns:
Opens the side Pane.
A valid ID of a paneBarItem must be given, so this item can be marked as selected. A "paneBarItemSelected" event is then fired as if the opening was triggered by the user by a click on the respective PaneBarItem. This method can be called (with different IDs) even when the Pane is already open. It has then the same effect as if the user switches between PaneBarItems.
Returns 'this' to allow method chaining.
Parameters:
{string} | sPaneBarItemId | The ID of the PaneBarItem which should be marked as selected. |
Returns:
openPersonalizationDialog(): void
Experimental method! Do not use!
Removes all the controls from the aggregation
content
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
headerItems
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
paneBarItems
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
paneContent
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
toolPopups
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
worksetItems
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes a content from the aggregation content
.
Parameters:
Returns:
Removes a headerItem from the aggregation headerItems
.
Parameters:
Returns:
Removes a paneBarItem from the aggregation paneBarItems
.
Parameters:
{int|string|sap.ui.core.Item} | vPaneBarItem | The paneBarItemto remove or its index or id |
Returns:
Removes a paneContent from the aggregation paneContent
.
Parameters:
Returns:
Removes a toolPopup from the aggregation toolPopups
.
Parameters:
Returns:
Removes a worksetItem from the aggregation worksetItems
.
Parameters:
Returns:
Sets a new value for property
allowOverlayHeaderAccess
.
Whether the Shell header (Title Area + Header Items) can be accessed when an Overlay, OverlayContainer or ThingInspector is open.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bAllowOverlayHeaderAccess | New value for property allowOverlayHeaderAccess |
- Since:
- 1.14.0
Returns:
Sets a new value for property
appIcon
.
The URL of the image to appear in the left part of the header, usually a branding image containing a logo and/or product name. appIcon and appTitle are both optional and can both be set; in this case the icon appears first. If the appIcon is set, for accessibility reasons the appIconTooltip must also be set.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
Returns:
Sets a new value for property
appIconTooltip
.
The tooltip of the application icon in the header
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sAppIconTooltip | New value for property appIconTooltip |
Returns:
Sets a new value for property
applyContentPadding
.
Whether the Shell content area should have a theme-dependent padding or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bApplyContentPadding | New value for property applyContentPadding |
- Since:
- 1.9.0
Returns:
Sets a new value for property
appTitle
.
The application title to appear in the left part of the header, usually a company and/or product name. appIcon and appTitle are both optional and can both be set; in this case the icon appears first.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sAppTitle | New value for property appTitle |
Returns:
Replaces the existing Shell content with the given Control(-Tree). Only leads to a re-rendering of the content area (not the complete Shell). This method may be more convenient than a series of calls to "removeContent" and "addContent", which each lead to a re-rendering of the content area (but again not of the complete Shell).
By default the old content is not destroyed and is returned by this method in an array for further usage. To avoid memory leaks, the old content should be destroyed (if not needed later), by setting the "destroyOldContent" flag or by destroying it manually later on. If "destroyOldContent" is set, an empty array is returned.
Parameters:
{sap.ui.core.Control} | oContent | The new Content. In this method it must be exactly one control (-tree). Use addContent() to add more control (-trees) to the main content area of the Shell. |
{boolean} | bDestroyOldContent | If set, the controls previously contained in the Shell will be destroyed, to avoid memory leaks. |
Returns:
Sets a new value for property
designType
.
Defines which design type is to be used.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Standard
.
Parameters:
- Since:
- 1.12.0
Returns:
Sets a new value for property
fullHeightContent
.
If set to true, the content area has a defined height. This means that any content put inside can use "100%" height in CSS and will then consume all available space. However, if content is larger, scrollbars will appear at the content area of the Shell and not on window level.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bFullHeightContent | New value for property fullHeightContent |
- Since:
- 1.9.0
Returns:
Sets a new value for property
headerType
.
Defines which header type to be used. Depending on the header type some other functionality might be obsolete.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Standard
.
Parameters:
Returns:
Sets a new value for property
logoutButtonTooltip
.
The tooltip to be displayed for the Logout Button of the Shell. If not set, a text meaning "Logout" in the current language will be displayed.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sLogoutButtonTooltip | New value for property logoutButtonTooltip |
- Since:
- 1.9.0
Returns:
setOffsetRight(px, complete?, outerId?)
Moves the complete Shell away from the right window border by the given number of pixels (left border in RTL case).
So there is space for a sidebar or so outside the Shell. The CSS class 'sapUiUx3ShellOuterSideBar' provides the basic position capabilities for the sidebar DOM element.
This feature is not public. The usage is only granted to special groups on request.
Parameters:
{int} | px | how many pixels of free space should be next to the Shell (between 0 and 600) |
{function} | complete? | optional callback function to call after the animation |
{string} | outerId? | optional id of the content representing the outside sidebar. If specified the width of the content is animated. |
- Since:
- 1.7.0
Replaces the existing side pane content with the given Control(-Tree). This method is optimized to only re-render the pane content (and not the shell) which is faster and smoother than any other way of changing the "paneContent" aggregation.
By default, the old pane content is not destroyed and is returned by this method in an array for further usage. To avoid memory leaks, the old content should be destroyed (if not needed later), by setting the "destroyOldContent" flag or by destroying it manually later on. If "destroyOldContent" is set, an empty array is returned.
Parameters:
{sap.ui.core.Control} | oContent | The new Pane content. In this method it must be exactly one control (-tree). This could likely be a layout or a specific ux3 Pane control. Use addPaneContent() to add more control (-trees) to the Pane. |
{boolean} | bDestroyOldContent | If set, the controls previously contained in the pane will be destroyed, to avoid memory leaks. |
Returns:
Sets a new value for property
paneWidth
.
The width of the right-hand side pane in pixels. The value must be a non-negative integer. The Shell reserves the right to define a minimum width (currently 50px).
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 250
.
Parameters:
{int} | iPaneWidth | New value for property paneWidth |
Returns:
Sets the associated selectedWorksetItem
.
Parameters:
{sap.ui.ux3.NavigationItem} | oSelectedWorksetItem | Id of an element which becomes the new target of this selectedWorksetItem association; alternatively, an element instance may be given |
Returns:
Sets a new value for property
showFeederTool
.
Whether the "Feeder" tool should be displayed or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowFeederTool | New value for property showFeederTool |
Returns:
Sets a new value for property
showLogoutButton
.
Whether the Logoff button in the header should be displayed or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowLogoutButton | New value for property showLogoutButton |
Returns:
Sets a new value for property
showPane
.
Whether the pane bar should be displayed at all or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowPane | New value for property showPane |
Returns:
Sets a new value for property
showSearchTool
.
Whether the "Global Search" tool should be displayed or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowSearchTool | New value for property showSearchTool |
Returns:
Sets a new value for property
showTools
.
Whether the tool area should be displayed at all or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowTools | New value for property showTools |
Returns:
getShowInspectorTool(): boolean
Gets current value of property
showInspectorTool
.
Whether the "Inspector" tool should be displayed or not.
Default value is false
.
- Deprecated:
- Since version 1.7.2. According to the current Ux designs, the ThingInspector should NOT be opened like this from the Tool Pane. And technically, the ThingInspector is not a ToolPopup. Instead trigger it from the respective elements in the Shell content.
Returns:
{boolean} | Value of property showInspectorTool |
Sets a new value for property
showInspectorTool
.
Whether the "Inspector" tool should be displayed or not.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bShowInspectorTool | New value for property showInspectorTool |
- Deprecated:
- Since version 1.7.2. According to the current Ux designs, the ThingInspector should NOT be opened like this from the Tool Pane. And technically, the ThingInspector is not a ToolPopup. Instead trigger it from the respective elements in the Shell content.
Returns: