Search in sources :

Example 1 with Resources

use of com.google.gwt.user.cellview.client.DataGrid.Resources in project ovirt-engine by oVirt.

the class ChangeQuotaView method updateListHeader.

void updateListHeader(ChangeQuotaModel model) {
    // $NON-NLS-1$
    String width = "100px";
    listHeader = new EntityModelCellTable(false, (Resources) GWT.create(PopupSimpleTableResources.class), true);
    listHeader.addColumn(new EmptyColumn(), constants.elementName(), width);
    listHeader.addColumn(new EmptyColumn(), constants.storageDomainDisk(), width);
    listHeader.addColumn(new EmptyColumn(), constants.currentQuota(), width);
    listHeader.addColumn(new EmptyColumn(), constants.quotaDisk(), width);
    listHeader.setRowData(new ArrayList());
    // $NON-NLS-1$
    listHeader.setWidth("100%");
    listHeaderPanel.setWidget(listHeader);
}
Also used : PopupSimpleTableResources(org.ovirt.engine.ui.common.PopupSimpleTableResources) EntityModelCellTable(org.ovirt.engine.ui.common.widget.editor.EntityModelCellTable) EmptyColumn(org.ovirt.engine.ui.common.widget.table.column.EmptyColumn) ArrayList(java.util.ArrayList) Resources(com.google.gwt.user.cellview.client.DataGrid.Resources) PopupSimpleTableResources(org.ovirt.engine.ui.common.PopupSimpleTableResources)

Aggregations

Resources (com.google.gwt.user.cellview.client.DataGrid.Resources)1 ArrayList (java.util.ArrayList)1 PopupSimpleTableResources (org.ovirt.engine.ui.common.PopupSimpleTableResources)1 EntityModelCellTable (org.ovirt.engine.ui.common.widget.editor.EntityModelCellTable)1 EmptyColumn (org.ovirt.engine.ui.common.widget.table.column.EmptyColumn)1