Source:
protected Control createPageControls(final Composite parent) { setTitle(Messages.CherryPickDialog_Cherry_Pick); setMessage(NLS.bind(Messages.CherryPickDialog_Change_X_Set_Y, task.getTaskId(), patchSet.getPatchSetId())); Composite composite = new Composite(parent, SWT.NONE); GridLayoutFactory.swtDefaults().applyTo(composite); Label branchlabel = new Label(composite, SWT.NONE); branchlabel.setText(NLS.bind(Messages.CherryPickDialog_Cherry_Pick_to_Branch, patchSet.getRefName())); destination = new Text(composite, SWT.SINGLE | SWT.LEFT | SWT.BORDER); GridDataFactory.swtDefaults().align(SWT.FILL, SWT.FILL).applyTo(destination); Label commitLabel = new Label(composite, SWT.NONE); commitLabel.setText(NLS.bind(Messages.CherryPickDialog_Cherry_Pick_Commit_Message, patchSet.getRefName())); commitMessage = createRichTextEditor(composite, ""); GridDataFactory.fillDefaults().grab(true, true).hint(400, 100).applyTo(commitMessage.getControl()); commitMessage.setText(getCommitMessage()); destination.addModifyListener(new ModifyListener() { @Override public void modifyText(ModifyEvent e) { updateButtons(); } }); ContentAssistCommandAdapter adapter = new ContentAssistCommandAdapter(destination, new TextContentAdapter(), createContentProposalProvider(), ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS, new char[0], true); adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_REPLACE); commitMessage.getViewer().addTextListener(new ITextListener() { @Override public void textChanged(TextEvent event) { updateButtons(); } }); destination.setFocus(); return composite; }

Target:
protected Control createPageControls(final Composite parent) { setTitle(Messages.CherryPickDialog_Cherry_Pick); setMessage(NLS.bind(Messages.CherryPickDialog_Change_X_Set_Y, task.getTaskId(), patchSet.getPatchSetId())); Composite composite = new Composite(parent, SWT.NONE); GridLayoutFactory.swtDefaults().applyTo(composite); Label branchlabel = new Label(composite, SWT.NONE); branchlabel.setText(NLS.bind(Messages.CherryPickDialog_Cherry_Pick_to_Branch, patchSet.getRefName())); destination = new Text(composite, SWT.SINGLE | SWT.LEFT | SWT.BORDER); GridDataFactory.swtDefaults().align(SWT.FILL, SWT.FILL).applyTo(destination); Label commitLabel = new Label(composite, SWT.NONE); commitLabel.setText(NLS.bind(Messages.CherryPickDialog_Cherry_Pick_Commit_Message, patchSet.getRefName())); commitMessage = createRichTextEditor(composite, ""); GridDataFactory.fillDefaults().grab(true, true).hint(400, 100).applyTo(commitMessage.getControl()); commitMessage.setText(getCommitMessage()); destination.addModifyListener(new ModifyListener() { @Override public void modifyText(ModifyEvent e) { updateButtons(); } }); commitMessage.getViewer().addTextListener(new ITextListener() { @Override public void textChanged(TextEvent event) { updateButtons(); } }); ContentAssistCommandAdapter adapter = new ContentAssistCommandAdapter(destination, new TextContentAdapter(), createContentProposalProvider(), ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS, null, true); adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_REPLACE); adapter.setAutoActivationCharacters(null); destination.setFocus(); return composite; }