use of com.biglybt.ui.swt.views.peer.RemotePieceDistributionView 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);
}
Aggregations