Add tagging UI support
commit708aa2d18f58c7a9655045b6fe5d0483fde89e6e
authorDariusz Luksza <dariusz@luksza.org>
Sun, 11 Apr 2010 20:25:44 +0000 (11 22:25 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 12 May 2010 22:20:44 +0000 (13 00:20 +0200)
treeeb8da6a2fbb5c94ac17fa508209fdf8c3922afbb
parent3f61491eeb40bc79cf987d859d3b035ef854bc46
Add tagging UI support

Implements UI for unsigned and annotated tags. This implementation
allows the user to select which commit object should be associated with
created tag. List of all commits is available in the 'Advanced' section
of the dialog. There is a special combo widget that can suggest commits
based on match of typed-in text with commit SHA-1 or part of first line
of existing commit messages.

User can also edit/overwrite tag message or associated commit of an existing
tag by selecting it from the list of existing tags and marking the
'Force replace existing tag' check box.

By default tag is created for current HEAD, this can be changed in the
'Advanced' section.

The tag dialog is available in project's context menu ('Team->Tag...').

[ms]: rebased to master and resolved conflict

CQ: 4073
Bug: 311262
Change-Id: Icb30655845d1e1198e59992a10148421ab9f9bd5
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
16 files changed:
org.eclipse.egit.core/src/org/eclipse/egit/core/CoreText.java
org.eclipse.egit.core/src/org/eclipse/egit/core/coretext.properties
org.eclipse.egit.core/src/org/eclipse/egit/core/op/TagOperation.java [new file with mode: 0644]
org.eclipse.egit.ui/META-INF/MANIFEST.MF
org.eclipse.egit.ui/plugin.properties
org.eclipse.egit.ui/plugin.xml
org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIUtils.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/SWTUtils.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/ValidationUtils.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/TagAction.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitCombo.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties