Search in sources :

Example 1 with RemoveVnicProfileModel

use of org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVnicProfileModel in project ovirt-engine by oVirt.

the class NetworkProfileListModel method remove.

public void remove() {
    if (getWindow() != null) {
        return;
    }
    RemoveVnicProfileModel model = new RemoveVnicProfileModel(this, getSelectedItems(), false);
    setWindow(model);
}
Also used : RemoveVnicProfileModel(org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVnicProfileModel)

Example 2 with RemoveVnicProfileModel

use of org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVnicProfileModel in project ovirt-engine by oVirt.

the class VnicProfileListModel method remove.

public void remove() {
    if (getConfirmWindow() != null) {
        return;
    }
    ConfirmationModel model = new RemoveVnicProfileModel(this, getSelectedItems(), true);
    setConfirmWindow(model);
}
Also used : RemoveVnicProfileModel(org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVnicProfileModel) ConfirmationModel(org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel)

Aggregations

RemoveVnicProfileModel (org.ovirt.engine.ui.uicommonweb.models.vms.RemoveVnicProfileModel)2 ConfirmationModel (org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel)1