Search in sources :

Example 16 with MultipleDocumentInterfaceSWT

use of com.biglybt.ui.swt.mdi.MultipleDocumentInterfaceSWT in project BiglyBT by BiglySoftware.

the class SkinView method skinObjectCreated.

@Override
public Object skinObjectCreated(SWTSkinObject skinObject, Object params) {
    SkinViewManager.add(this);
    MultipleDocumentInterfaceSWT mdi = UIFunctionsManagerSWT.getUIFunctionsSWT().getMDISWT();
    if (mdi != null) {
        MdiEntry entry = mdi.getEntryFromSkinObject(skinObject);
        if (entry != null && (this instanceof UIPluginViewToolBarListener)) {
            entry.addToolbarEnabler((UIPluginViewToolBarListener) this);
        }
    }
    return super.skinObjectCreated(skinObject, params);
}
Also used : MdiEntry(com.biglybt.ui.mdi.MdiEntry) MultipleDocumentInterfaceSWT(com.biglybt.ui.swt.mdi.MultipleDocumentInterfaceSWT) UIPluginViewToolBarListener(com.biglybt.pif.ui.UIPluginViewToolBarListener)

Aggregations

MultipleDocumentInterfaceSWT (com.biglybt.ui.swt.mdi.MultipleDocumentInterfaceSWT)16 UIPluginViewToolBarListener (com.biglybt.pif.ui.UIPluginViewToolBarListener)4 MdiEntry (com.biglybt.ui.mdi.MdiEntry)4 MdiEntrySWT (com.biglybt.ui.swt.mdi.MdiEntrySWT)4 DownloadManager (com.biglybt.core.download.DownloadManager)3 UISWTViewEventListenerHolder (com.biglybt.ui.swt.pifimpl.UISWTViewEventListenerHolder)3 Core (com.biglybt.core.Core)2 CoreRunningListener (com.biglybt.core.CoreRunningListener)2 DiskManagerFileInfo (com.biglybt.core.disk.DiskManagerFileInfo)2 GlobalManager (com.biglybt.core.global.GlobalManager)2 ISelectedContent (com.biglybt.ui.selectedcontent.ISelectedContent)2 ISelectedVuzeFileContent (com.biglybt.ui.selectedcontent.ISelectedVuzeFileContent)2 SWTSkinObject (com.biglybt.ui.swt.skin.SWTSkinObject)2 DiskManagerFileInfoSet (com.biglybt.core.disk.DiskManagerFileInfoSet)1 DownloadManagerListener (com.biglybt.core.download.DownloadManagerListener)1 MessageText (com.biglybt.core.internat.MessageText)1 LogEvent (com.biglybt.core.logging.LogEvent)1 SubscriptionListener (com.biglybt.core.subs.SubscriptionListener)1 SubscriptionResultFilter (com.biglybt.core.subs.SubscriptionResultFilter)1 TOTorrent (com.biglybt.core.torrent.TOTorrent)1