added error for unsupported statements

Change-Id: I5a6ad4efb0632b9a160d2223a4a76689b2dc1af5
tree view no longer fails with statements (uses text view only)

Change-Id: I3dcf334723d027a5780ae2996203362628a31b5c