Prevent the user from selecting an invalid branch/reset target.
commit12ac70d514fa3282b73a51c31c63e079b0d59edf
authorRemy Suen <remysuen@ca.ibm.com>
Sat, 17 Apr 2010 01:11:56 +0000 (16 21:11 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 17 Apr 2010 11:29:14 +0000 (17 13:29 +0200)
treeefbf7ed9e4242b4da552347b9e8e59b0e1a8ada7
parentd7a82f81e3d6d2a51a89a015cd9dea8137d8db1e
Prevent the user from selecting an invalid branch/reset target.

The branch selection dialog needs to enable/disable its buttons
based on what the user has selected. This will help provide a
better user experience as they will be less likely to get into a
state where an error dialog will popup on them.

Change-Id: Iec736b78204d4201a428bb2608e124d9d9e5cab1
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties