reproduce special toolbar behavior of jdt hierarchy view for #894