~smaioli/azureus/ubuntu-experimental

« back to all changes in this revision

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

MergedĀ VuzeĀ 4.2.0.2.

Show diffs side-by-side

added added

removed removed

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