Search in sources :

Example 21 with EntityModelCheckBoxEditor

use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor in project ovirt-engine by oVirt.

the class VmDiskAttachPopupWidget method initManualWidgets.

private void initManualWidgets(boolean allowMultipleSelection) {
    isPluggedEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    imageDiskTable = new EntityModelCellTable<>(allowMultipleSelection);
    lunDiskTable = new EntityModelCellTable<>(allowMultipleSelection);
    cinderDiskTable = new EntityModelCellTable<>(allowMultipleSelection);
    messageLabel = new HTML();
    warningLabel = new HTML();
}
Also used : HTML(com.google.gwt.user.client.ui.HTML) EntityModelCheckBoxEditor(org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor)

Example 22 with EntityModelCheckBoxEditor

use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor in project ovirt-engine by oVirt.

the class VmInitWidget method initCheckBoxEditors.

void initCheckBoxEditors() {
    networkEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    networkStartOnBootEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    timeZoneEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    cloudInitPasswordSetEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    regenerateKeysEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    windowsSyspreptimeZoneEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    sysprepPasswordSetEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
}
Also used : EntityModelCheckBoxEditor(org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor)

Example 23 with EntityModelCheckBoxEditor

use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor in project ovirt-engine by oVirt.

the class VmMakeTemplatePopupWidget method initCheckBoxEditors.

void initCheckBoxEditors() {
    isTemplatePublicEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    copyVmPermissions = new EntityModelCheckBoxEditor(Align.RIGHT);
    sealTemplateEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    isSubTemplateEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
}
Also used : EntityModelCheckBoxEditor(org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor)

Example 24 with EntityModelCheckBoxEditor

use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor in project ovirt-engine by oVirt.

the class VmNextRunConfigurationWidget method initEditors.

void initEditors() {
    applyLaterEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    vmUnpinnedLatchEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
}
Also used : EntityModelCheckBoxEditor(org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor)

Example 25 with EntityModelCheckBoxEditor

use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor in project ovirt-engine by oVirt.

the class VmRunOncePopupWidget method initCheckBoxEditors.

void initCheckBoxEditors() {
    attachFloppyEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    attachIsoEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    bootMenuEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    runAsStatelessEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    runAndPauseEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    useAlternateCredentialsEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    spiceFileTransferEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    spiceCopyPasteEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    cloudInitEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
    volatileRunEditor = new EntityModelCheckBoxOnlyEditor();
    volatileRunEditorWithInfo = new EntityModelWidgetWithInfo(new EnableableFormLabel(constants.volatileRunOnce()), volatileRunEditor);
    volatileRunEditorWithInfo.setExplanation(templates.italicText(constants.volatileRunInfo()));
}
Also used : EntityModelWidgetWithInfo(org.ovirt.engine.ui.common.widget.EntityModelWidgetWithInfo) EntityModelCheckBoxEditor(org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor) EntityModelCheckBoxOnlyEditor(org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxOnlyEditor) EnableableFormLabel(org.ovirt.engine.ui.common.widget.label.EnableableFormLabel)

Aggregations

EntityModelCheckBoxEditor (org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxEditor)28 EnumRenderer (org.ovirt.engine.ui.common.widget.renderer.EnumRenderer)9 NullSafeRenderer (org.ovirt.engine.ui.common.widget.renderer.NullSafeRenderer)8 EntityModelRadioButtonEditor (org.ovirt.engine.ui.common.widget.editor.generic.EntityModelRadioButtonEditor)7 InfoIcon (org.ovirt.engine.ui.common.widget.dialog.InfoIcon)5 NameRenderer (org.ovirt.engine.ui.common.widget.renderer.NameRenderer)4 AbstractRenderer (com.google.gwt.text.shared.AbstractRenderer)3 RadioButton (com.google.gwt.user.client.ui.RadioButton)2 Cluster (org.ovirt.engine.core.common.businessentities.Cluster)2 OpenstackNetworkProviderProperties (org.ovirt.engine.core.common.businessentities.OpenstackNetworkProviderProperties)2 Quota (org.ovirt.engine.core.common.businessentities.Quota)2 VDS (org.ovirt.engine.core.common.businessentities.VDS)2 GlusterVolumeEntity (org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity)2 RepoImage (org.ovirt.engine.core.common.businessentities.storage.RepoImage)2 EntityModelWidgetWithInfo (org.ovirt.engine.ui.common.widget.EntityModelWidgetWithInfo)2 GroupedListModelListBox (org.ovirt.engine.ui.common.widget.editor.GroupedListModelListBox)2 StringEntityModelTextAreaLabelEditor (org.ovirt.engine.ui.common.widget.editor.generic.StringEntityModelTextAreaLabelEditor)2 EnableableFormLabel (org.ovirt.engine.ui.common.widget.label.EnableableFormLabel)2 StorageDomainFreeSpaceRenderer (org.ovirt.engine.ui.common.widget.renderer.StorageDomainFreeSpaceRenderer)2 EntityModel (org.ovirt.engine.ui.uicommonweb.models.EntityModel)2