Class 

sap.ui.ux3.ToolPopup


Description

A pop up which the user can open from the Shell's tool pane. Generally, the starting point would be an icon. For this pop up, buttons can be defined with any text; therefore, it has the same purpose and similar look like any common dialog box. A ToolPopup can have any content. Depending on the application type and design, the structure of the texts and input fields can be for example form-like.


Usage

Must be triggered from the component where the ToolPopup should be related.


Example script (button event press):


ToolPopup.setPosition(sap.ui.core.Popup.Dock.LeftTop, sap.ui.core.Popup.Dock.RightTop, this.getDomRef(), "13 -10", "none");

if (ToolPopup.isOpen())
{
    ToolPopup.close();
}
else
{
    ToolPopup.open();
}