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 <>
1 file changed
tree: 1b9ee8c70d399fbd37b2906a4a851f9a901329e2
  1. .gitignore
  2. .settings/
  4. GoogleFormat.xml
  5. pom.xml
  6. src/