Implement Team->Add to Index action
commit374af9a268a289429ae1b0c64e14116cff5d3916
authorJens Baumgart <jens.baumgart@sap.com>
Thu, 11 Mar 2010 10:02:48 +0000 (11 11:02 +0100)
committerStefan Lay <stefan.lay@sap.com>
Thu, 11 Mar 2010 15:21:58 +0000 (11 16:21 +0100)
tree76bea407695884d9f41c02f901dc7dd19d646be3
parent86df94e89fcf3d308d04c348f840be116c55ead0
Implement Team->Add to Index action

An initial implementation for the Team->Add to Index action is
provided. GitIndex is used in the implementation (similar to Add
To Index in CommitDialog).
The action does not modify the index if the index contains staged
content. Later GitIndex should be replaced by using DirCache.

Change-Id: Ibc36704257caa3109098bf523ac1ff5f37d8e096
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
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/AddToIndexOperation.java [new file with mode: 0644]
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/internal/actions/AddToIndexAction.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties