Repository nodes should propagate adapters to their elements
commit76e7f5fe8f0dcbdd3a68ad026651a52c5e16001a
authorAndrey Loskutov <loskutov@gmx.de>
Sun, 22 Nov 2015 07:36:15 +0000 (22 08:36 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Sun, 22 Nov 2015 19:19:17 +0000 (22 14:19 -0500)
tree1acc263feea14318ad7528cbde8f739e1cfafd60
parente9612d00015a3dcd851a8632392f879d7a12086d
Repository nodes should propagate adapters to their elements

Currently RepositoryTreeNodes containing references to File objects do
not propagate them via getAdapter(). By allowing them to do so we allow
other tools to contribute File based context menus to the Git Repository
selections.

Change-Id: I00abb25e26342b3814d3f2398ceaef9880f6d29f
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/RepositoryTreeNode.java