Search in sources :

Example 1 with IMainWindow

use of com.biglybt.ui.swt.mainwindow.IMainWindow in project BiglyBT by BiglySoftware.

the class QuickLinksView method setVisible.

public static void setVisible(boolean visible) {
    if (visible) {
        COConfigurationManager.setParameter("IconBar.enabled", true);
    }
    UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
    if (uiFunctions != null) {
        IMainWindow mainWindow = uiFunctions.getMainWindow();
        mainWindow.setVisible(MainWindow.WINDOW_ELEMENT_QUICK_LINKS, visible);
    }
}
Also used : IMainWindow(com.biglybt.ui.swt.mainwindow.IMainWindow) UIFunctionsSWT(com.biglybt.ui.swt.UIFunctionsSWT)

Aggregations

UIFunctionsSWT (com.biglybt.ui.swt.UIFunctionsSWT)1 IMainWindow (com.biglybt.ui.swt.mainwindow.IMainWindow)1