Tomas Jelinek has posted comments on this change.

Change subject: webadmin: fix import/general sub-tab
......................................................................


Patch Set 3:

(3 comments)

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

Line 5: CommitDate: 2015-04-07 09:37:03 +0300
Line 6: 
Line 7: webadmin: fix import/general sub-tab
Line 8: 
Line 9: The general sub-tab in the import dialog was broken by recent changes in
how was it broken?
Line 10: the frontend. This patch fixes the sub-tab that shows general
Line 11: information about the VM to be imported.
Line 12: 
Line 13: Change-Id: Ied6e9619ba6f539e42600d3650adff2b9272ac9e


https://gerrit.ovirt.org/#/c/39586/3/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmImportGeneralModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmImportGeneralModel.java:

Line 19: import org.ovirt.engine.ui.uicompat.ConstantsManager;
Line 20: import org.ovirt.engine.ui.uicompat.EnumTranslator;
Line 21: import org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs;
Line 22: 
Line 23: public class VmImportGeneralModel extends 
AbstractGeneralModel<ImportVmData> {
why have you decided to extend this instead of VmGeneralModel? Now I see lots 
of copy-pasted code - why?
Line 24:     private static final VmTemplateNameRenderer vmTemplateNameRenderer 
= new VmTemplateNameRenderer();
Line 25:     private static EnumTranslator translator = 
EnumTranslator.getInstance();
Line 26: 
Line 27:     private String name;


https://gerrit.ovirt.org/#/c/39586/3/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/storage/backup/ImportVmGeneralSubTabView.java
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/storage/backup/ImportVmGeneralSubTabView.java:

Line 23: import com.google.gwt.user.client.ui.Image;
Line 24: import com.google.gwt.user.client.ui.Widget;
Line 25: 
Line 26: public class ImportVmGeneralSubTabView  extends 
AbstractSubTabFormView<VM, ImportVmFromExportDomainModel, VmImportGeneralModel> 
implements SubTabVirtualMachineGeneralPresenter.ViewDef, 
Editor<VmImportGeneralModel> {
Line 27: 
also copy pasted from SubTabVirtualMachineGeneralView. Why?
Line 28:     interface ViewUiBinder extends UiBinder<Widget, 
ImportVmGeneralSubTabView> {
Line 29:         ViewUiBinder uiBinder = GWT.create(ViewUiBinder.class);
Line 30:     }
Line 31: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ied6e9619ba6f539e42600d3650adff2b9272ac9e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Martin Betak <mbe...@redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to