Search in sources :

Example 1 with AbstractLunActionsColumn

use of org.ovirt.engine.ui.common.widget.table.column.AbstractLunActionsColumn in project ovirt-engine by oVirt.

the class SanStorageTargetToLunList method addAbstractLunActionsColumn.

private void addAbstractLunActionsColumn(EntityModelCellTable<ListModel<LunModel>> table, String headerString) {
    AbstractLunActionsColumn actionsColumn = new AbstractLunActionsColumn() {

        @Override
        public LunModel getValue(LunModel object) {
            return object;
        }
    };
    actionsColumn.makeSortable();
    // $NON-NLS-1$
    table.addColumn(actionsColumn, headerString, "95px");
}
Also used : LunModel(org.ovirt.engine.ui.uicommonweb.models.storage.LunModel) AbstractLunActionsColumn(org.ovirt.engine.ui.common.widget.table.column.AbstractLunActionsColumn)

Aggregations

AbstractLunActionsColumn (org.ovirt.engine.ui.common.widget.table.column.AbstractLunActionsColumn)1 LunModel (org.ovirt.engine.ui.uicommonweb.models.storage.LunModel)1