use of org.ovirt.engine.ui.uicommonweb.models.configure.scheduling.affinity_groups.model.EditAffinityGroupModel in project ovirt-engine by oVirt.
the class AffinityGroupListModel method edit.
private void edit() {
if (getWindow() != null) {
return;
}
AffinityGroup affinityGroup = getSelectedItem();
if (affinityGroup == null) {
return;
}
AffinityGroupModel model = new EditAffinityGroupModel(affinityGroup, this, getClusterId(), getClusterName());
model.init();
setWindow(model);
}
Aggregations