Source:
protected EditCommandsViewImpl(org.eclipse.che.ide.Resources resources, EditCommandResources commandResources, MachineLocalizationConstant machineLocale, CoreLocalizationConstant coreLocale, IconRegistry iconRegistry) { this.commandResources = commandResources; this.machineLocale = machineLocale; this.coreLocale = coreLocale; this.iconRegistry = iconRegistry; selectItem = null; categories = new HashMap<>(); hintLabel = new FlowPanel(); hintLabel.getElement().setInnerText(machineLocale.editCommandsViewHint()); commandResources.getCss().ensureInjected(); setWidget(UI_BINDER.createAndBindUi(this)); setTitle(machineLocale.editCommandsViewTitle()); getWidget().getElement().setId("commandsManagerView"); filterInputField.getElement().setAttribute("placeholder", machineLocale.editCommandsViewPlaceholder()); filterInputField.getElement().addClassName(commandResources.getCss().filterPlaceholder()); list = new CategoriesList(resources); list.addDomHandler(new KeyDownHandler() { @Override public void onKeyDown(KeyDownEvent event) { switch (event.getNativeKeyCode()) { case KeyboardEvent.KeyCode.INSERT: delegate.onAddClicked(); break; case KeyboardEvent.KeyCode.DELETE: delegate.onRemoveClicked(selectItem); break; } } }, KeyDownEvent.getType()); categoriesPanel.add(list); savePanel.setVisible(false); contentPanel.clear(); saveButton = createButton(coreLocale.save(), "window-edit-configurations-save", new ClickHandler() { @Override public void onClick(ClickEvent event) { delegate.onSaveClicked(); } }); saveButton.addStyleName(this.resources.windowCss().primaryButton()); overFooter.add(saveButton); cancelButton = createButton(coreLocale.cancel(), "window-edit-configurations-cancel", new ClickHandler() { @Override public void onClick(ClickEvent event) { delegate.onCancelClicked(); } }); overFooter.add(cancelButton); createFooterButton(); resetInputField(); getWidget().getElement().getStyle().setPadding(0, Style.Unit.PX); }

Target:
protected EditCommandsViewImpl(org.eclipse.che.ide.Resources resources, EditCommandResources commandResources, MachineLocalizationConstant machineLocale, CoreLocalizationConstant coreLocale, IconRegistry iconRegistry) { this.commandResources = commandResources; this.machineLocale = machineLocale; this.coreLocale = coreLocale; this.iconRegistry = iconRegistry; selectConfiguration = null; categories = new HashMap<>(); commandResources.getCss().ensureInjected(); setWidget(UI_BINDER.createAndBindUi(this)); setTitle(machineLocale.editCommandsViewTitle()); getWidget().getElement().setId("commandsManagerView"); hintLabel = new Label(machineLocale.editCommandsViewHint()); hintLabel.addStyleName(commandResources.getCss().hintLabel()); filterInputField.getElement().setAttribute("placeholder", machineLocale.editCommandsViewPlaceholder()); filterInputField.getElement().addClassName(commandResources.getCss().filterPlaceholder()); list = new CategoriesList(resources); list.addDomHandler(new KeyDownHandler() { @Override public void onKeyDown(KeyDownEvent event) { switch (event.getNativeKeyCode()) { case KeyboardEvent.KeyCode.INSERT: delegate.onAddClicked(); break; case KeyboardEvent.KeyCode.DELETE: delegate.onRemoveClicked(selectConfiguration); break; } } }, KeyDownEvent.getType()); categoriesPanel.add(list); savePanel.setVisible(false); contentPanel.clear(); saveButton = createButton(coreLocale.save(), "window-edit-configurations-save", new ClickHandler() { @Override public void onClick(ClickEvent event) { delegate.onSaveClicked(); } }); saveButton.addStyleName(this.resources.windowCss().primaryButton()); overFooter.add(saveButton); cancelButton = createButton(coreLocale.cancel(), "window-edit-configurations-cancel", new ClickHandler() { @Override public void onClick(ClickEvent event) { delegate.onCancelClicked(); } }); overFooter.add(cancelButton); createFooterButton(); resetFilter(); getWidget().getElement().getStyle().setPadding(0, Style.Unit.PX); }