use of org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVmTemplateInterfaceModel in project ovirt-engine by oVirt.
the class NetworkTemplateListModel method remove.
private void remove() {
if (getWindow() != null) {
return;
}
List<VmNetworkInterface> vnics = new ArrayList<>();
for (PairQueryable<VmNetworkInterface, VmTemplate> pair : getSelectedItems()) {
vnics.add(pair.getFirst());
}
RemoveVmTemplateInterfaceModel model = new RemoveVmTemplateInterfaceModel(this, vnics, true);
setWindow(model);
}
use of org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVmTemplateInterfaceModel in project ovirt-engine by oVirt.
the class TemplateInterfaceListModel method remove.
private void remove() {
if (getWindow() != null) {
return;
}
RemoveVmTemplateInterfaceModel model = new RemoveVmTemplateInterfaceModel(this, getSelectedItems(), false);
setWindow(model);
}
Aggregations