Search in sources :

Example 6 with EmptyColumn

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

the class SubTabTemplateStorageView method initHeader.

@Override
protected void initHeader() {
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.domainNameStorage(), "");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.domainTypeStorage(), "120px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.statusStorage(), "120px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.freeSpaceStorage(), "120px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.usedSpaceStorage(), "120px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.totalSpaceStorage(), "120px");
    // $NON-NLS-1$
    table.setHeight("30px");
}
Also used : EmptyColumn(org.ovirt.engine.ui.common.widget.table.column.EmptyColumn)

Example 7 with EmptyColumn

use of org.ovirt.engine.ui.common.widget.table.column.EmptyColumn 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)

Example 8 with EmptyColumn

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

the class SubTabQuotaVmView method initHeader.

@Override
protected void initHeader() {
    table.addColumn(new EmptyColumn(), constants.aliasVm());
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.disksVm(), "80px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.templateVm(), "160px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.vSizeVm(), "110px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.actualSizeVm(), "110px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.creationDateVm(), "170px");
}
Also used : EmptyColumn(org.ovirt.engine.ui.common.widget.table.column.EmptyColumn)

Example 9 with EmptyColumn

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

the class SubTabQuotaTemplateView method initHeader.

@Override
protected void initHeader() {
    table.addColumn(new EmptyColumn(), constants.aliasTemplate());
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.disksTemplate(), "110px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.actualSizeTemplate(), "110px");
    // $NON-NLS-1$
    table.addColumn(new EmptyColumn(), constants.creationDateTemplate(), "170px");
}
Also used : EmptyColumn(org.ovirt.engine.ui.common.widget.table.column.EmptyColumn)

Aggregations

EmptyColumn (org.ovirt.engine.ui.common.widget.table.column.EmptyColumn)9 ArrayList (java.util.ArrayList)3 EntityModelCellTable (org.ovirt.engine.ui.common.widget.editor.EntityModelCellTable)3 TreeItem (com.google.gwt.user.client.ui.TreeItem)2 ListModel (org.ovirt.engine.ui.uicommonweb.models.ListModel)2 Resources (com.google.gwt.user.cellview.client.DataGrid.Resources)1 PopupSimpleTableResources (org.ovirt.engine.ui.common.PopupSimpleTableResources)1 ImageResourceHeader (org.ovirt.engine.ui.common.widget.table.header.ImageResourceHeader)1 TemplateDiskListModel (org.ovirt.engine.ui.uicommonweb.models.templates.TemplateDiskListModel)1 TemplateStorageListModel (org.ovirt.engine.ui.uicommonweb.models.templates.TemplateStorageListModel)1