use of org.ovirt.engine.core.common.businessentities.XENVmProviderProperties in project ovirt-engine by oVirt.
the class ImportVmsModel method xenProviderChanged.
private void xenProviderChanged() {
Provider<XENVmProviderProperties> provider = getXenProviders().getSelectedItem();
if (provider == null) {
provider = new Provider<>();
provider.setAdditionalProperties(new XENVmProviderProperties());
}
XENVmProviderProperties properties = provider.getAdditionalProperties();
getXenUri().setEntity(properties.getUrl());
setupProxyHost(getXenProxyHosts(), properties.getProxyHostId());
}
use of org.ovirt.engine.core.common.businessentities.XENVmProviderProperties in project ovirt-engine by oVirt.
the class XENPropertiesModel method init.
public void init(Provider<XENVmProviderProperties> provider) {
XENVmProviderProperties properties = provider.getAdditionalProperties();
getUrl().setEntity(properties.getUrl());
setLastProxyHostId(properties.getProxyHostId());
setLastStoragePoolId(properties.getStoragePoolId());
}
Aggregations