Search in sources :

Example 1 with ProgressWindow

use of com.biglybt.ui.swt.sharing.progress.ProgressWindow in project BiglyBT by BiglySoftware.

the class MainWindowImpl method postPluginSetup.

private void postPluginSetup(Core core) {
    // we pass core in just as reminder that this function needs core
    if (core == null) {
        return;
    }
    // if (!Utils.isAZ2UI()) {
    ActivitiesManager.initialize(core);
    // }
    LocProvUtils.initialise(core);
    if (!Constants.isSafeMode) {
        MainHelpers.initTransferBar();
        configIconBarEnabledListener = new ParameterListener() {

            @Override
            public void parameterChanged(String parameterName) {
                setVisible(WINDOW_ELEMENT_TOOLBAR, COConfigurationManager.getBooleanParameter(parameterName));
            }
        };
        COConfigurationManager.addAndFireParameterListener("IconBar.enabled", configIconBarEnabledListener);
    }
    // share progress window
    new ProgressWindow(Utils.getDisplay());
}
Also used : ProgressWindow(com.biglybt.ui.swt.sharing.progress.ProgressWindow) ParameterListener(com.biglybt.core.config.ParameterListener)

Aggregations

ParameterListener (com.biglybt.core.config.ParameterListener)1 ProgressWindow (com.biglybt.ui.swt.sharing.progress.ProgressWindow)1