Index: runtime/observatory/lib/src/elements/class_tree.dart |
diff --git a/runtime/observatory/lib/src/elements/class_tree.dart b/runtime/observatory/lib/src/elements/class_tree.dart |
index 0e2aed056550790fefd6b0c38daa0d5513af941a..ea4bdd688319b65645d683bd4aa0c58488b6ff53 100644 |
--- a/runtime/observatory/lib/src/elements/class_tree.dart |
+++ b/runtime/observatory/lib/src/elements/class_tree.dart |
@@ -9,12 +9,12 @@ import 'dart:async'; |
import 'package:observatory/models.dart' as M; |
import 'package:observatory/src/elements/class_ref.dart'; |
import 'package:observatory/src/elements/containers/virtual_tree.dart'; |
+import 'package:observatory/src/elements/helpers/nav_bar.dart'; |
+import 'package:observatory/src/elements/helpers/nav_menu.dart'; |
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
import 'package:observatory/src/elements/helpers/tag.dart'; |
import 'package:observatory/src/elements/helpers/uris.dart'; |
-import 'package:observatory/src/elements/nav/bar.dart'; |
import 'package:observatory/src/elements/nav/isolate_menu.dart'; |
-import 'package:observatory/src/elements/nav/menu.dart'; |
import 'package:observatory/src/elements/nav/notify.dart'; |
import 'package:observatory/src/elements/nav/top_menu.dart'; |
import 'package:observatory/src/elements/nav/vm_menu.dart'; |
@@ -23,9 +23,7 @@ import 'package:observatory/src/elements/nav/vm_menu.dart'; |
class ClassTreeElement extends HtmlElement implements Renderable{ |
static const tag = const Tag<ClassTreeElement>('class-tree', |
dependencies: const [ClassRefElement.tag, |
- NavBarElement.tag, |
NavIsolateMenuElement.tag, |
- NavMenuElement.tag, |
NavNotifyElement.tag, |
NavTopMenuElement.tag, |
NavVMMenuElement.tag, |
@@ -84,15 +82,13 @@ class ClassTreeElement extends HtmlElement implements Renderable{ |
void render() { |
children = [ |
- new NavBarElement(queue: _r.queue) |
- ..children = [ |
- new NavTopMenuElement(queue: _r.queue), |
- new NavVMMenuElement(_vm, _events, queue: _r.queue), |
- new NavIsolateMenuElement(_isolate, _events, queue: _r.queue), |
- new NavMenuElement('class hierarchy', link: Uris.classTree(_isolate), |
- last: true, queue: _r.queue), |
- new NavNotifyElement(_notifications, queue: _r.queue) |
- ], |
+ navBar([ |
+ new NavTopMenuElement(queue: _r.queue), |
+ new NavVMMenuElement(_vm, _events, queue: _r.queue), |
+ new NavIsolateMenuElement(_isolate, _events, queue: _r.queue), |
+ navMenu('class hierarchy'), |
+ new NavNotifyElement(_notifications, queue: _r.queue) |
+ ]), |
new DivElement() |
..classes = ['content-centered'] |
..children = [ |