BranchSelectionDialog fixes
commit974c5c47687dccbed6b0fe88b7025c8e1363bc42
authorMathias Kinzler <mathias.kinzler@sap.com>
Mon, 26 Apr 2010 14:07:43 +0000 (26 16:07 +0200)
committerChris Aniszczyk <caniszczyk@gmail.com>
Mon, 26 Apr 2010 20:34:27 +0000 (26 15:34 -0500)
tree14b517da4ce703ea22655da87da48b38bfb96600
parent2a37cbe8457669294d7bdd2e930f5f7cb0fc88bb
BranchSelectionDialog fixes

Currently, hitting "Rename" on a tag
will do some renaming inappropriately: the result
is a new local branch.
The same goes when renaming a remote
branch using this dialog: the result is a local
branch.
This fix will disable renaming of tags
altogether and use the appropriate prefixes
when renaming branches.
In addition, the different buttons will be
enabled/disabled depending on the selection
of the tag/branch.

Change-Id: I38b2f04f71ba7784506891fb22bc2e72bfaec4ec
Bug: 308457
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/BranchAction.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/ResetAction.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