From: <oms...@us...> - 2007-07-20 16:52:22
|
Revision: 987 http://svn.sourceforge.net/azcvsupdater/?rev=987&view=rev Author: omschaub Date: 2007-07-20 09:52:19 -0700 (Fri, 20 Jul 2007) Log Message: ----------- Stuffer tweaks for the86734573845385734853847 Modified Paths: -------------- trunk/omschaub/omschaub/stuffer/containers/TotalPeerSetUtils.java trunk/omschaub/omschaub/stuffer/main/DownloadImp.java trunk/omschaub/omschaub/stuffer/main/Plugin.java trunk/omschaub/omschaub/stuffer/main/Tab3.java trunk/omschaub/omschaub/stuffer/main/Utils.java trunk/omschaub/omschaub/stuffer/main/View.java Modified: trunk/omschaub/omschaub/stuffer/containers/TotalPeerSetUtils.java =================================================================== --- trunk/omschaub/omschaub/stuffer/containers/TotalPeerSetUtils.java 2007-05-10 16:55:01 UTC (rev 986) +++ trunk/omschaub/omschaub/stuffer/containers/TotalPeerSetUtils.java 2007-07-20 16:52:19 UTC (rev 987) @@ -97,7 +97,7 @@ return map.size(); } - public Listener sortByIP(){ +/* public Listener sortByIP(){ Listener sortListener = new Listener() { public void handleEvent(Event e) { @@ -111,6 +111,6 @@ } }; return sortListener; - } + }*/ } Modified: trunk/omschaub/omschaub/stuffer/main/DownloadImp.java =================================================================== --- trunk/omschaub/omschaub/stuffer/main/DownloadImp.java 2007-05-10 16:55:01 UTC (rev 986) +++ trunk/omschaub/omschaub/stuffer/main/DownloadImp.java 2007-07-20 16:52:19 UTC (rev 987) @@ -153,6 +153,12 @@ e.printStackTrace(); failedCommands(); } + + public void reportAmountComplete(ResourceDownloader arg0, + long arg1) { + // TODO Auto-generated method stub + + } }; rd_t.addListener(rdl); Modified: trunk/omschaub/omschaub/stuffer/main/Plugin.java =================================================================== --- trunk/omschaub/omschaub/stuffer/main/Plugin.java 2007-05-10 16:55:01 UTC (rev 986) +++ trunk/omschaub/omschaub/stuffer/main/Plugin.java 2007-07-20 16:52:19 UTC (rev 987) @@ -66,9 +66,9 @@ //The main Tab2 private static Tab2 MainTab2; private static Tab2Utilities tab2Utilities; - +/* //The main Tab3 - private static Tab3 MainTab3; + private static Tab3 MainTab3;*/ public void initialize(final PluginInterface pluginInterface) { this.pluginInterface = pluginInterface; @@ -129,7 +129,7 @@ MainTab1 = new Tab1(); MainTab2 = new Tab2(); tab2Utilities = new Tab2Utilities(); - MainTab3 = new Tab3(); + // MainTab3 = new Tab3(); }//End of Initialize @@ -159,10 +159,10 @@ public static Tab2 getTab2(){ return MainTab2; } - +/* public static Tab3 getTab3(){ return MainTab3; - } + }*/ public static Tab2Utilities getTab2Utilities(){ return tab2Utilities; @@ -367,7 +367,7 @@ } - public static void startTPCRuleRun(){ + /* public static void startTPCRuleRun(){ UTTimer peer_timer=pi.getUtilities().createTimer("stuffer_tpc_timer"); peer_timer.addPeriodicEvent(1000*6, new UTTimerEventPerformer() @@ -407,8 +407,8 @@ }); } +*/ - public static Display getDisplay(){ return display; } Modified: trunk/omschaub/omschaub/stuffer/main/Tab3.java =================================================================== --- trunk/omschaub/omschaub/stuffer/main/Tab3.java 2007-05-10 16:55:01 UTC (rev 986) +++ trunk/omschaub/omschaub/stuffer/main/Tab3.java 2007-07-20 16:52:19 UTC (rev 987) @@ -2,7 +2,7 @@ * Created on Sep 30, 2005 * Created by omschaub * - */ + package omschaub.stuffer.main; @@ -295,3 +295,4 @@ }//EOF +*/ \ No newline at end of file Modified: trunk/omschaub/omschaub/stuffer/main/Utils.java =================================================================== --- trunk/omschaub/omschaub/stuffer/main/Utils.java 2007-05-10 16:55:01 UTC (rev 986) +++ trunk/omschaub/omschaub/stuffer/main/Utils.java 2007-07-20 16:52:19 UTC (rev 987) @@ -199,8 +199,8 @@ }//End of Peer for loop - //pop the tab3 table - Plugin.getTab3().resetTable(); + /*//pop the tab3 table + Plugin.getTab3().resetTable();*/ }// End of if peer != null Modified: trunk/omschaub/omschaub/stuffer/main/View.java =================================================================== --- trunk/omschaub/omschaub/stuffer/main/View.java 2007-05-10 16:55:01 UTC (rev 986) +++ trunk/omschaub/omschaub/stuffer/main/View.java 2007-07-20 16:52:19 UTC (rev 987) @@ -114,11 +114,11 @@ CTabItem tab1 = new CTabItem(tab,SWT.NONE); CTabItem tab2 = new CTabItem(tab,SWT.NONE); - CTabItem tab3 = new CTabItem(tab,SWT.NONE); + //CTabItem tab3 = new CTabItem(tab,SWT.NONE); tab1.setText("Activity"); tab2.setText("Settings"); - tab3.setText("Data Mining"); + //tab3.setText("Data Mining"); //composite for tab1 @@ -159,13 +159,13 @@ //open for tab2 Plugin.getTab2().open(composite_for_tab2); - //open for tab3 + /* //open for tab3 Plugin.getTab3().open(composite_for_tab3); - + */ //tab controls tab1.setControl(composite_for_tab1); tab2.setControl(composite_for_tab2); - tab3.setControl(composite_for_tab3); + // tab3.setControl(composite_for_tab3); parent.pack(); parent.layout(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |