DESCRIPTION

Change discard local changes dialog OK-button label

Adds new String ("&Discard Changes") and uses it as OK-button label for
the discard local changes dialog

Changes creation of MessageDialog in DiscardChangesActionHandler.

Fixes Tests.

Bug: 514930
Change-Id: I4cbb0484517f013f272ef377c926a8b8fb3b22b5
Signed-off-by: Simon Ellison xxx@xxx.xxx

COMMENTS

author: Simon Ellison
date: 2017-05-17 10:00:55.000000000

Patch Set 4: Patch Set 3 was rebased

-------------------------------------
author: Brenden Conley
date: 2017-05-17 10:01:04.000000000

Patch Set 4:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/9863/

-------------------------------------
author: Brenden Conley
date: 2017-05-17 10:09:13.000000000

Patch Set 4: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit.gerrit/9863/ : FAILURE

-------------------------------------
author: Alayna Houston
date: 2017-05-17 10:10:41.000000000

Patch Set 4:

It helps to look at the build log to figure out *why* the build failed:

  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project org.eclipse.egit.ui.test: Compilation failure: Compilation failure:
  [ERROR] /home/hudson/genie.egit/.hudson/jobs/egit.gerrit/workspace/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/ReplaceActionsTest.java:[27]
  [ERROR] import org.eclipse.jface.dialogs.IDialogConstants;
  [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [ERROR] The import org.eclipse.jface.dialogs.IDialogConstants is never used
  [ERROR] 1 problem (1 error)

If you work in Eclipse, and didn't override the EGit project's JDT settings, you should also have that error marker in your IDE.

-------------------------------------
