Search in sources :

Example 16 with WebWindowManager

use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.

the class CubaManagedTabSheet method closeOtherTabs.

public void closeOtherTabs(Component currentTab) {
    WebWindowManager windowManager = App.getInstance().getWindowManager();
    windowManager.closeAllTabbedWindowsExcept((ComponentContainer) currentTab);
}
Also used : WebWindowManager(com.haulmont.cuba.web.WebWindowManager)

Example 17 with WebWindowManager

use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.

the class CubaTabSheet method closeAllTabs.

public void closeAllTabs() {
    WebWindowManager windowManager = App.getInstance().getWindowManager();
    windowManager.closeAllTabbedWindows();
}
Also used : WebWindowManager(com.haulmont.cuba.web.WebWindowManager)

Example 18 with WebWindowManager

use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.

the class CubaTabSheet method closeOtherTabs.

public void closeOtherTabs(Component currentTab) {
    WebWindowManager windowManager = App.getInstance().getWindowManager();
    windowManager.closeAllTabbedWindowsExcept((ComponentContainer) currentTab);
}
Also used : WebWindowManager(com.haulmont.cuba.web.WebWindowManager)

Example 19 with WebWindowManager

use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.

the class WebFrame method showNotification.

@Override
public void showNotification(String caption, NotificationType type) {
    WebWindowManager wm = App.getInstance().getWindowManager();
    wm.showNotification(caption, type);
}
Also used : WebWindowManager(com.haulmont.cuba.web.WebWindowManager)

Example 20 with WebWindowManager

use of com.haulmont.cuba.web.WebWindowManager in project cuba by cuba-platform.

the class CubaManagedTabSheet method closeAllTabs.

public void closeAllTabs() {
    WebWindowManager windowManager = App.getInstance().getWindowManager();
    windowManager.closeAllTabbedWindows();
}
Also used : WebWindowManager(com.haulmont.cuba.web.WebWindowManager)

Aggregations

WebWindowManager (com.haulmont.cuba.web.WebWindowManager)31 WindowInfo (com.haulmont.cuba.gui.config.WindowInfo)16 WindowConfig (com.haulmont.cuba.gui.config.WindowConfig)15 App (com.haulmont.cuba.web.App)3 Connection (com.haulmont.cuba.web.Connection)2 Configuration (com.haulmont.cuba.core.global.Configuration)1 FileStorageException (com.haulmont.cuba.core.global.FileStorageException)1 Messages (com.haulmont.cuba.core.global.Messages)1 GuiDevelopmentException (com.haulmont.cuba.gui.GuiDevelopmentException)1 com.haulmont.cuba.gui.components (com.haulmont.cuba.gui.components)1 Window (com.haulmont.cuba.gui.components.Window)1 GenericExceptionHandler (com.haulmont.cuba.gui.exception.GenericExceptionHandler)1 ThemeConstants (com.haulmont.cuba.gui.theme.ThemeConstants)1 FileUploadingAPI (com.haulmont.cuba.gui.upload.FileUploadingAPI)1 User (com.haulmont.cuba.security.entity.User)1 WebConfig (com.haulmont.cuba.web.WebConfig)1 VersionedThemeResource (com.haulmont.cuba.web.toolkit.VersionedThemeResource)1 CubaMultiUpload (com.haulmont.cuba.web.toolkit.ui.CubaMultiUpload)1 File (java.io.File)1 FileOutputStream (java.io.FileOutputStream)1