Tomas Jelinek has posted comments on this change.
Change subject: userportal,webadmin: Persist the changes from console popup
......................................................................
Patch Set 2: (5 inline comments)
....................................................
File
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/gin/BaseUtilsModule.java
Line 5:
Line 6: import com.google.gwt.inject.client.AbstractGinModule;
Line 7: import com.google.inject.Singleton;
Line 8:
Line 9: public class BaseUtilsModule extends AbstractGinModule {
yes, but not part of this patch - will do it in a subsequent one together with
removing the duplicated code from Configurator and replacing with the usage of
the already extracted ConsoleUtils
Line 10:
Line 11: @Override
Line 12: protected void configure() {
Line 13:
bind(ConsoleOptionsFrontendPersister.class).to(ConsoleOptionsFrontendPersisterImpl.class).in(Singleton.class);
....................................................
File
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/utils/ConsoleOptionsFrontendPersisterImpl.java
Line 149:
Line 150: private ConsoleContext context;
Line 151:
Line 152: public KeyMaker(String vmId, ConsoleContext context) {
Line 153: super();
ok, removing
Line 154: this.vmId = vmId;
Line 155: this.context = context;
Line 156: }
Line 157:
....................................................
File
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java
Line 812:
Line 813: ConsolePopupModel model = new ConsolePopupModel();
Line 814: model.setConsoleContext(ConsoleContext.WA);
Line 815: model.setModel(this);
Line 816:
ok, removing
Line 817: model.setHashName("editConsole"); //$NON-NLS-1$
Line 818: setWindow(model);
Line 819:
Line 820: UICommand saveCommand = new UICommand("OnEditConsoleSave",
this); //$NON-NLS-1$
....................................................
File
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/gin/UtilsModule.java
Line 13:
Line 14: @Override
Line 15: protected void configure() {
Line 16: super.configure();
Line 17: bind(ConsoleUtils.class).in(Singleton.class);
yes, you are right, but will do it in a subsequent patch
Line 18:
bind(MainTabBasicListItemMessagesTranslator.class).in(Singleton.class);
Line 19: bind(ConnectAutomaticallyProvider.class).in(Singleton.class);
Line 20: bind(ConnectAutomaticallyManager.class).in(Singleton.class);
Line 21: bind(ConsoleManager.class).in(Singleton.class);
Line 17: bind(ConsoleUtils.class).in(Singleton.class);
Line 18:
bind(MainTabBasicListItemMessagesTranslator.class).in(Singleton.class);
Line 19: bind(ConnectAutomaticallyProvider.class).in(Singleton.class);
Line 20: bind(ConnectAutomaticallyManager.class).in(Singleton.class);
Line 21: bind(ConsoleManager.class).in(Singleton.class);
same
Line 22: }
Line 23:
--
To view, visit http://gerrit.ovirt.org/13274
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I847e17c6e28db7921f0bc162f0ff70399e671a03
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches