use of org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceModel in project ovirt-engine by oVirt.
the class TemplateInterfaceListModel method newEntity.
private void newEntity() {
if (getWindow() != null) {
return;
}
VmInterfaceModel model = NewTemplateInterfaceModel.createInstance(getEntity(), getEntity().getStoragePoolId(), getEntity().getCompatibilityVersion(), (ArrayList<VmNetworkInterface>) getItems(), this);
setWindow(model);
}
use of org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceModel in project ovirt-engine by oVirt.
the class TemplateInterfaceListModel method edit.
private void edit() {
if (getWindow() != null) {
return;
}
VmInterfaceModel model = EditTemplateInterfaceModel.createInstance(getEntity(), getEntity().getStoragePoolId(), getEntity().getCompatibilityVersion(), (ArrayList<VmNetworkInterface>) getItems(), getSelectedItem(), this);
setWindow(model);
}
Aggregations