You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After:
WaveBase.create()
.relatedClass(ShowModelCommand.class)
.waveGroup(CALL_COMMAND)
.waveBean(
DisplayWaveBean.create()
.childrenPlaceHolder(this.application.getRootNode().getChildren())
.showModelKey(getFacade().getUiFacade().buildKey((Class) this.application.getFirstModelClass())
);
Longer but the showModelWaveBuilder is removed and could be replaced by a simple method returning :
WaveBase.create()
.relatedClass(ShowModelCommand.class)
.waveGroup(CALL_COMMAND)
The text was updated successfully, but these errors were encountered:
Avoid all builders (complex to write) and update WaveBase to add chainable method.
Before:
ShowModelWaveBuilder.create()
.childrenPlaceHolder(this.application.getRootNode().getChildren())
.showModelKey(getFacade().getUiFacade().buildKey((Class) this.application.getFirstModelClass()))
.build();
After:
WaveBase.create()
.relatedClass(ShowModelCommand.class)
.waveGroup(CALL_COMMAND)
.waveBean(
DisplayWaveBean.create()
.childrenPlaceHolder(this.application.getRootNode().getChildren())
.showModelKey(getFacade().getUiFacade().buildKey((Class) this.application.getFirstModelClass())
);
Longer but the showModelWaveBuilder is removed and could be replaced by a simple method returning :
WaveBase.create()
.relatedClass(ShowModelCommand.class)
.waveGroup(CALL_COMMAND)
The text was updated successfully, but these errors were encountered: