Search in sources :

Example 1 with PeerInfoView

use of com.biglybt.ui.swt.views.peer.PeerInfoView in project BiglyBT by BiglySoftware.

the class PeersViewBase method registerPluginViews.

private static void registerPluginViews() {
    ViewManagerSWT vm = ViewManagerSWT.getInstance();
    if (vm.areCoreViewsRegistered(PLUGIN_DS_TYPE)) {
        return;
    }
    vm.registerView(PLUGIN_DS_TYPE, new UISWTViewBuilderCore("PeerInfoView", null, PeerInfoView.class));
    vm.registerView(PLUGIN_DS_TYPE, new UISWTViewBuilderCore("RemotePieceDistributionView", null, RemotePieceDistributionView.class));
    vm.registerView(PLUGIN_DS_TYPE, new UISWTViewBuilderCore(PeerFilesView.MSGID_PREFIX, null, PeerFilesView.class));
    vm.registerView(PLUGIN_DS_TYPE, new UISWTViewBuilderCore(LoggerView.VIEW_ID, null, LoggerView.class).setInitialDatasource(true));
    vm.setCoreViewsRegistered(PLUGIN_DS_TYPE);
}
Also used : PeerInfoView(com.biglybt.ui.swt.views.peer.PeerInfoView) UISWTViewBuilderCore(com.biglybt.ui.swt.pifimpl.UISWTViewBuilderCore) RemotePieceDistributionView(com.biglybt.ui.swt.views.peer.RemotePieceDistributionView) PeerFilesView(com.biglybt.ui.swt.views.peer.PeerFilesView)

Aggregations

UISWTViewBuilderCore (com.biglybt.ui.swt.pifimpl.UISWTViewBuilderCore)1 PeerFilesView (com.biglybt.ui.swt.views.peer.PeerFilesView)1 PeerInfoView (com.biglybt.ui.swt.views.peer.PeerInfoView)1 RemotePieceDistributionView (com.biglybt.ui.swt.views.peer.RemotePieceDistributionView)1