Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Rey2013-05-01 22:33:39 +0000
committerRobin Stocker2013-05-03 14:10:55 +0000
commitdadf0386a08feff68b62bf1a1b506611ec7fce6b (patch)
tree4c014390e8ee5d92662dfe6494d711725d1c5009 /org.eclipse.egit.mylyn.ui/src/org
parent0a93dc5de1c889d388a1c9eb5a0b6702ae6c5daf (diff)
downloadegit-dadf0386a08feff68b62bf1a1b506611ec7fce6b.tar.gz
egit-dadf0386a08feff68b62bf1a1b506611ec7fce6b.tar.xz
egit-dadf0386a08feff68b62bf1a1b506611ec7fce6b.zip
Check target of linked resources in action handler isEnabled
The fix provides stronger checks on selected linked resources before enabling menu items. In particular, linked resources that point to a file that is part of a project shared with egit are allowed to be operated on. Otherwise team actions are disabled if the selection contains a linked resource pointing to a file outside any project and repository. A default isEnabled() implementation is provided for this behavior. After adding a test case a couple more handlers have been amended and made compliant. Bug: 406922 Change-Id: Id9fd5ea0c31a78b84796638570d214d14cc3c4fd Signed-off-by: François Rey <eclipse.org@francois.rey.name> Signed-off-by: Robin Stocker <robin@nibor.org>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui/src/org')
0 files changed, 0 insertions, 0 deletions

Back to the top