Search in sources :

Example 1 with PopupWidgetConfigMap

use of org.ovirt.engine.ui.common.widget.uicommon.popup.vm.PopupWidgetConfigMap in project ovirt-engine by oVirt.

the class PoolNewPopupWidget method createWidgetConfiguration.

@Override
protected PopupWidgetConfigMap createWidgetConfiguration() {
    PopupWidgetConfigMap widgetConfiguration = super.createWidgetConfiguration().update(highAvailabilityTab, hiddenField()).update(foremanTab, hiddenField()).update(spiceProxyEditor, simpleField().visibleInAdvancedModeOnly()).update(spiceProxyEnabledCheckboxWithInfoIcon, simpleField().visibleInAdvancedModeOnly()).update(spiceProxyOverrideEnabledEditor, simpleField().visibleInAdvancedModeOnly()).putOne(isStatelessEditor, hiddenField()).putOne(isRunAndPauseEditor, hiddenField()).putOne(editPoolEditVmsRow, hiddenField()).putOne(editPoolIncreaseNumOfVmsRow, hiddenField()).putOne(logicalNetworksEditorRow, hiddenField()).putOne(editPoolEditMaxAssignedVmsPerUserRow, hiddenField()).putOne(baseTemplateEditor, hiddenField()).update(templateVersionNameEditor, hiddenField()).putAll(detachableWidgets(), simpleField().detachable().visibleInAdvancedModeOnly());
    updateOrAddToWidgetConfiguration(widgetConfiguration, detachableWidgets(), UpdateToDetachable.INSTANCE);
    return widgetConfiguration;
}
Also used : PopupWidgetConfigMap(org.ovirt.engine.ui.common.widget.uicommon.popup.vm.PopupWidgetConfigMap)

Aggregations

PopupWidgetConfigMap (org.ovirt.engine.ui.common.widget.uicommon.popup.vm.PopupWidgetConfigMap)1