Search in sources :

Example 6 with LunModel

use of org.ovirt.engine.ui.uicommonweb.models.storage.LunModel 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

LunModel (org.ovirt.engine.ui.uicommonweb.models.storage.LunModel)6 ArrayList (java.util.ArrayList)4 ListModel (org.ovirt.engine.ui.uicommonweb.models.ListModel)4 TreeItem (com.google.gwt.user.client.ui.TreeItem)3 SingleSelectionModel (com.google.gwt.view.client.SingleSelectionModel)3 List (java.util.List)3 HorizontalPanel (com.google.gwt.user.client.ui.HorizontalPanel)2 HashSet (java.util.HashSet)2 ActionReturnValue (org.ovirt.engine.core.common.action.ActionReturnValue)2 AddSANStorageDomainParameters (org.ovirt.engine.core.common.action.AddSANStorageDomainParameters)2 StorageDomainStatus (org.ovirt.engine.core.common.businessentities.StorageDomainStatus)2 StoragePool (org.ovirt.engine.core.common.businessentities.StoragePool)2 VDS (org.ovirt.engine.core.common.businessentities.VDS)2 EntityModelCellTable (org.ovirt.engine.ui.common.widget.editor.EntityModelCellTable)2 AbstractLunRemoveColumn (org.ovirt.engine.ui.common.widget.table.column.AbstractLunRemoveColumn)2 AbstractLunSelectionColumn (org.ovirt.engine.ui.common.widget.table.column.AbstractLunSelectionColumn)2 AbstractLunTextColumn (org.ovirt.engine.ui.common.widget.table.column.AbstractLunTextColumn)2 SanStorageModelBase (org.ovirt.engine.ui.uicommonweb.models.storage.SanStorageModelBase)2 GWT (com.google.gwt.core.client.GWT)1 Scheduler (com.google.gwt.core.client.Scheduler)1