Fix selection handling in AbstractOperationAction
commitd94684dfa0313def9a9b5afdefc0b5e3af6e6350
authorJens Baumgart <jens.baumgart@sap.com>
Mon, 26 Apr 2010 14:55:58 +0000 (26 16:55 +0200)
committerChris Aniszczyk <caniszczyk@gmail.com>
Mon, 26 Apr 2010 20:24:09 +0000 (26 15:24 -0500)
tree13ce4e507b78aee30f08bc7be37b03b2eef03c3a
parent9d8b3265b54dd58c4b27fbcc9dc6e4479a062948
Fix selection handling in AbstractOperationAction

Team actions based on AbstractOperationAction
were disabled in the Java edtior due to wrong selection
handling.
The selection is now retrieved in selectionChanged.
The operation is now created in the run method.

Change-Id: Ia0c961c3f8adde2877d962ee1ff1f6de97776faf
Bug: 310440
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/AbstractOperationAction.java