Search in sources :

Example 1 with ExportOvaModel

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

the class VmBaseListModel method postExportOvaGetHosts.

protected void postExportOvaGetHosts(List<VDS> hosts) {
    ExportOvaModel model = (ExportOvaModel) getWindow();
    model.getProxy().setItems(hosts);
    model.getProxy().setSelectedItem(Linq.firstOrNull(hosts));
    // $NON-NLS-1$
    model.getCommands().add(UICommand.createDefaultOkUiCommand("OnExportOva", this));
    // $NON-NLS-1$
    model.getCommands().add(UICommand.createCancelUiCommand("Cancel", this));
    model.stopProgress();
}
Also used : ExportOvaModel(org.ovirt.engine.ui.uicommonweb.models.vms.ExportOvaModel)

Aggregations

ExportOvaModel (org.ovirt.engine.ui.uicommonweb.models.vms.ExportOvaModel)1