this.campaignService = campaignService;
}
@Override
public void bind() {
TextBoxBaseKeyHandler privateKeyHandler = new TextBoxBaseKeyHandler();
privateKeyHandler.setEventBus(eventBus);
this.view.getPrivateDescriptionPanelKeyDownHandlers()
.addKeyDownHandler(privateKeyHandler);
this.view.getPrivateDescriptionPanelKeyUpHandlers().addKeyUpHandler(
privateKeyHandler);
TextBoxBaseKeyHandler publicKeyHandler = new TextBoxBaseKeyHandler();
publicKeyHandler.setEventBus(eventBus);
this.view.getPublicDescriptionPanelKeyDownHandlers().addKeyDownHandler(
publicKeyHandler);
this.view.getPublicDescriptionPanelKeyUpHandlers().addKeyUpHandler(
publicKeyHandler);
TextBoxBaseKeyHandler nameKeyHandler = new TextBoxBaseKeyHandler();
nameKeyHandler.setEventBus(eventBus);
TextBoxBaseKeyHandler iconKeyHandler = new TextBoxBaseKeyHandler();
iconKeyHandler.setEventBus(eventBus);
this.view.getNameTextBoxKeyUpHandlers().addKeyUpHandler(nameKeyHandler);
this.view.getNameTextBoxKeyDownHandlers().addKeyDownHandler(
nameKeyHandler);
this.view.getIconTextBoxKeyUpHandlers().addKeyUpHandler(iconKeyHandler);