Search in sources :

Example 1 with QuotaListModel

use of org.ovirt.engine.ui.uicommonweb.models.quota.QuotaListModel in project ovirt-engine by oVirt.

the class QuotaSubTabPanelPresenter method initDetailTabToModelMapping.

@Override
protected void initDetailTabToModelMapping(Map<TabData, Model> mapping) {
    QuotaListModel mainModel = modelProvider.getModel();
    mapping.put(DetailTabDataIndex.QUOTA_CLUSTER, mainModel.getClusterListModel());
    mapping.put(DetailTabDataIndex.QUOTA_STORAGE, mainModel.getStorageListModel());
    mapping.put(DetailTabDataIndex.QUOTA_VM, mainModel.getVmListModel());
    mapping.put(DetailTabDataIndex.QUOTA_TEMPLATE, mainModel.getTemplateListModel());
    mapping.put(DetailTabDataIndex.QUOTA_USER, mainModel.getUserListModel());
    mapping.put(DetailTabDataIndex.QUOTA_PERMISSION, mainModel.getPermissionListModel());
    mapping.put(DetailTabDataIndex.QUOTA_EVENT, mainModel.getEventListModel());
}
Also used : QuotaListModel(org.ovirt.engine.ui.uicommonweb.models.quota.QuotaListModel)

Aggregations

QuotaListModel (org.ovirt.engine.ui.uicommonweb.models.quota.QuotaListModel)1