~smaioli/azureus/ubuntu-experimental

« back to all changes in this revision

Viewing changes to org/gudy/azureus2/ui/swt/views/tableitems/peers/DiscardedItem.java

MergedĀ VuzeĀ 4.2.0.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
package org.gudy.azureus2.ui.swt.views.tableitems.peers;
26
26
 
 
27
import org.gudy.azureus2.core3.peer.PEPeer;
27
28
import org.gudy.azureus2.core3.util.DisplayFormatters;
28
 
import org.gudy.azureus2.core3.peer.PEPeer;
29
 
import org.gudy.azureus2.plugins.ui.tables.*;
30
29
import org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn;
31
30
 
 
31
import org.gudy.azureus2.plugins.ui.tables.TableCell;
 
32
import org.gudy.azureus2.plugins.ui.tables.TableCellRefreshListener;
 
33
import org.gudy.azureus2.plugins.ui.tables.TableColumnInfo;
 
34
 
32
35
/**
33
36
 *
34
37
 * @author Olivier
38
41
       extends CoreTableColumn 
39
42
       implements TableCellRefreshListener
40
43
{
 
44
        public static final String COLUMN_ID = "discarded";
 
45
 
 
46
        public void fillTableColumnInfo(TableColumnInfo info) {
 
47
                info.addCategories(new String[] {
 
48
                        CAT_BYTES,
 
49
                });
 
50
        }
 
51
 
41
52
  /** Default Constructor */
42
53
  public DiscardedItem(String table_id) {
43
 
    super("discarded", ALIGN_TRAIL, POSITION_INVISIBLE, 60, table_id);
 
54
    super(COLUMN_ID, ALIGN_TRAIL, POSITION_INVISIBLE, 60, table_id);
44
55
    setRefreshInterval(INTERVAL_LIVE);
45
56
  }
46
57