Greg Sheremeta has posted comments on this change.

Change subject: webadmin: combine datacenter/cluster in host popup
......................................................................


Patch Set 3:

(6 comments)

https://gerrit.ovirt.org/#/c/41240/3//COMMIT_MSG
Commit Message:

Line 12: dwon
s/dwon/down


https://gerrit.ovirt.org/#/c/41240/3/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/editor/GroupedListModelListBox.java
File 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/editor/GroupedListModelListBox.java:

Line 22: import com.google.gwt.user.client.ui.Label;
Line 23: import com.google.gwt.user.client.ui.ListBox;
Line 24: import com.google.gwt.user.client.ui.Widget;
Line 25: 
Line 26: public abstract class GroupedListModelListBox<T> extends 
ListModelListBox<T> {
please add some javadoc describing the widget
Line 27:     interface Style extends CssResource {
Line 28:         String container();
Line 29:         String listBox();
Line 30:         String labelContainer();


Line 62:     }
Line 63: 
Line 64:     @Override
Line 65:     protected void initWidget(Widget widget) {
Line 66:         container = 
DataCenterClusterListUiBinder.uiBinder.createAndBindUi(this);
this seems off. Isn't this widget generic?
Line 67:         super.initWidget(container);
Line 68:         container.insert(widget, 0);
Line 69:         getListBox().addChangeHandler(new ChangeHandler() {
Line 70:             @Override


Line 79:         return container.getWidget(0);
Line 80:     }
Line 81: 
Line 82:     /**
Line 83:      * Set the acceptable values as well as generating the appropriate 
OptionGroups based on the data center
shouldn't mention data centers since (if?) this is a generic widget
Line 84:      * names.
Line 85:      */
Line 86:     @Override
Line 87:     public void setAcceptableValues(Collection<T> newValues) {


https://gerrit.ovirt.org/#/c/41240/3/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/editor/GroupedListModelListBox.ui.xml
File 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/editor/GroupedListModelListBox.ui.xml:

Line 9:             border: solid 1px gray;
Line 10:             padding: 0px;
Line 11:         }
Line 12: 
Line 13:         .labelContainer_legacy {
+1. Thanks for maintaining the _legacy convention
Line 14:             text-align: left;
Line 15:         }
Line 16: 
Line 17:         .labelContainer {


https://gerrit.ovirt.org/#/c/41240/3/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java:

Line 1861
Line 1862
Line 1863
Line 1864
Line 1865
no idea what this does. Is this the "partial cluster" thing you were referring 
to?


-- 
To view, visit https://gerrit.ovirt.org/41240
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If42ada78c0b5e72509f0a5a6a5d8cfcefc3ed7d5
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <aw...@redhat.com>
Gerrit-Reviewer: Alexander Wels <aw...@redhat.com>
Gerrit-Reviewer: Einav Cohen <eco...@redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gsher...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to