Vojtech Szocs has posted comments on this change. Change subject: webadmin: display tool-tip for disabled editors ......................................................................
Patch Set 2: Rebased (no additional changes). Nice patch! HasEnabled interface covers both typical cases for disabling EntityModel's editor widget: 1. Disabling EntityModel editor because some operation is in progress (e.g. login input fields disabled after initiating login operation), or because EntityModel's editor is not available in some context (e.g. in VM -> New Network Interface dialog, MAC input field is disabled unless you click "Specify custom MAC address"). In this case, setEnabled(boolean) makes sense. 2. Disabling EntityModel editor because of some business rule or restriction, where an explanatory tooltip would be useful to the user. In this case, setEnabled(boolean,List<String>) makes sense. Just one question: in setEnabled(boolean,List<String>) method, disabilityHints parameter makes sense only when enabled == false, right? -- To view, visit http://gerrit.ovirt.org/5163 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id74f1f082219fbd4d0042ec08f926b8861500745 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Einav Cohen <eco...@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches