esteban-aliverti/guvnor — comment on commit cdbc8a0bc1f6c287e7ed7ef90a2eb1c89e596515
File: guvnor-webapp-drools/src/main/java/org/drools/guvnor/client/asseteditor/drools/standalone/StandaloneEditorManager.java line 123
By Rikkola:

Is the command used here because your using native JavaScript in the methods? Using EventBus and Events it might be possible to clean the code and not pass around these commands. Of course you would then have to pass the EventBus, but passing one instead of 3 and in the future maybe more might be better. Also using EventBus + events makes it easier for future features to listen to the events.