Arik Hadas has posted comments on this change.

Change subject: webadmin: add 'import' functionality in vms tab
......................................................................


Patch Set 32:

(1 comment)

Tomas, it was intentionally not being added to the user-portal since currently 
VMs can be imported only via the webadmin and I think we should keep it that 
way, unless someone will come with a convincing argument why should we add it 
to the user-portal

http://gerrit.ovirt.org/#/c/29381/32/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExternalVm.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExternalVm.java:

Line 2: 
Line 3: import org.ovirt.engine.core.common.businessentities.VM;
Line 4: import org.ovirt.engine.ui.uicommonweb.models.EntityModel;
Line 5: 
Line 6: public class ExternalVm extends EntityModel {
> this seems strange... It should either be ExternalVm extends EntityModel<VM
Done
I wanted to use the VM object instead, but the split table widget works only 
with EntityModels. But right, I removed this class and now I'm using 
EntityModel<VM> and call its getEntity method instead
Line 7: 
Line 8:     private VM vm;
Line 9: 
Line 10:     public ExternalVm(VM vm) {


-- 
To view, visit http://gerrit.ovirt.org/29381
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9aaae633518b1268e63b36894ba9e077884d4694
Gerrit-PatchSet: 32
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Shahar Havivi <shav...@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