Search in sources :

Example 1 with ColumnSubResultNew

use of com.biglybt.ui.swt.columns.subscriptions.ColumnSubResultNew in project BiglyBT by BiglySoftware.

the class SBC_SubscriptionResultsView method initColumns.

private void initColumns(Core core) {
    synchronized (SBC_SubscriptionResultsView.class) {
        if (columnsAdded) {
            return;
        }
        columnsAdded = true;
    }
    TableColumnManager tableManager = TableColumnManager.getInstance();
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSubResultNew.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSubResultNew(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultType.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultType(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultName.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultName(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultActions.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultActions(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultSize.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultSize(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultSeedsPeers.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultSeedsPeers(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultRatings.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultRatings(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultAge.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultAge(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultRank.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultRank(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultCategory.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultCategory(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultHash.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultHash(column);
        }
    });
    tableManager.registerColumn(SBC_SubscriptionResult.class, ColumnSearchSubResultExisting.COLUMN_ID, new TableColumnCreationListener() {

        @Override
        public void tableColumnCreated(TableColumn column) {
            new ColumnSearchSubResultExisting(column);
        }
    });
}
Also used : ColumnSubResultNew(com.biglybt.ui.swt.columns.subscriptions.ColumnSubResultNew) TableColumn(com.biglybt.pif.ui.tables.TableColumn) TableColumnManager(com.biglybt.ui.common.table.impl.TableColumnManager) TableColumnCreationListener(com.biglybt.pif.ui.tables.TableColumnCreationListener)

Aggregations

TableColumn (com.biglybt.pif.ui.tables.TableColumn)1 TableColumnCreationListener (com.biglybt.pif.ui.tables.TableColumnCreationListener)1 TableColumnManager (com.biglybt.ui.common.table.impl.TableColumnManager)1 ColumnSubResultNew (com.biglybt.ui.swt.columns.subscriptions.ColumnSubResultNew)1