package org.ovirt.engine.ui.common.widget.uicommon.popup.template;

import org.ovirt.engine.ui.common.CommonApplicationConstants;
import org.ovirt.engine.ui.common.widget.uicommon.popup.networkinterface.NetworkInterfacePopupWidget;
import org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceModel;

import com.google.gwt.event.shared.EventBus;

public class TemplateNetworkInterfacePopupWidget extends NetworkInterfacePopupWidget {

    public TemplateNetworkInterfacePopupWidget(EventBus eventBus,
            CommonApplicationConstants constants) {
        super(eventBus, constants);
    }

    @Override
    public void edit(VmInterfaceModel iface) {
        super.edit(iface);
        activateCheckBox.setVisible(false);
        portMirroringEditor.setVisible(false);
    }

}
