~smaioli/azureus/ubuntu-experimental

« back to all changes in this revision

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

MergedĀ VuzeĀ 4.2.0.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
package org.gudy.azureus2.ui.swt.views.tableitems.peers;
22
22
 
23
23
import org.gudy.azureus2.core3.peer.PEPeer;
24
 
import org.gudy.azureus2.plugins.ui.tables.*;
25
24
import org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn;
26
25
 
 
26
import org.gudy.azureus2.plugins.ui.tables.TableCell;
 
27
import org.gudy.azureus2.plugins.ui.tables.TableCellRefreshListener;
 
28
import org.gudy.azureus2.plugins.ui.tables.TableColumnInfo;
 
29
 
27
30
/**
28
31
 * 
29
32
 */
31
34
       extends CoreTableColumn 
32
35
       implements TableCellRefreshListener
33
36
{
34
 
  /** Default Constructor */
 
37
        public static final String COLUMN_ID = "Messaging";
 
38
 
 
39
        public void fillTableColumnInfo(TableColumnInfo info) {
 
40
                info.addCategories(new String[] {
 
41
                        CAT_PROTOCOL,
 
42
                });
 
43
        }
 
44
 
 
45
        /** Default Constructor */
35
46
  public MessagingItem(String table_id) {
36
 
    super("Messaging", ALIGN_CENTER, POSITION_INVISIBLE, 40, table_id);
 
47
    super(COLUMN_ID, ALIGN_CENTER, POSITION_INVISIBLE, 40, table_id);
37
48
    setRefreshInterval(INTERVAL_LIVE);
38
49
  }
39
50