use of org.ovirt.engine.ui.uicommonweb.models.vms.instancetypes.ExistingPoolInstanceTypeManager in project ovirt-engine by oVirt.
the class ExistingPoolModelBehavior method initialize.
@Override
public void initialize() {
super.initialize();
if (!StringHelper.isNullOrEmpty(pool.getVmPoolSpiceProxy())) {
getModel().getSpiceProxyEnabled().setEntity(true);
getModel().getSpiceProxy().setEntity(pool.getVmPoolSpiceProxy());
getModel().getSpiceProxy().setIsChangeable(true);
}
instanceTypeManager = new ExistingPoolInstanceTypeManager(getModel(), pool);
instanceTypeManager.setAlwaysEnabledFieldUpdate(true);
getModel().getCustomProperties().setIsChangeable(false);
getModel().getCustomPropertySheet().setIsChangeable(false);
}
Aggregations