Fix View.isCurrentView to account for wrapping

ViewSite wraps View objects inside of other panels before it
displays them, so we really need to consider unwrapping the
parent a couple of levels in order to find the parent ViewSite
and test for our instance.

Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed
tree: 1b9ee8c70d399fbd37b2906a4a851f9a901329e2
  1. .settings/
  2. src/
  3. .gitignore
  4. COPYING
  5. GoogleFormat.xml
  6. pom.xml