Create Branch: Change source selection from combo to selection dialog
commit667a055b385ab309bfbaac2afec9779a808ba359
authorRobin Stocker <robin@nibor.org>
Fri, 29 Nov 2013 18:31:25 +0000 (29 19:31 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 12 Dec 2013 23:16:16 +0000 (13 00:16 +0100)
treedb31777bffe9fa2d0d44a6b1ef8d3ec518101bb1
parent378ec62cb69427752a270e78016afa14757beb96
Create Branch: Change source selection from combo to selection dialog

When a repository has many branches or tags, the selection with the
combo is ineffective (e.g. no filtering). Apart from that, it slows down
the dialog even when the user does not intend to change the source
branch.

This changes it to a "Select..." button which shows a branch selection
dialog where the user can filter.

To clean up the appearance, an icon is shown for the source branch
representing the type and the short branch/tag name is used (that's the
name the user sees everywhere else).

Bug: 422661
Change-Id: Icfaabed13f890f5b8abb0833e847a76e648f0b86
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/internal/repository/CreateBranchPageTest.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/FetchAndMergeActionTest.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/CreateBranchPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties