OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="class_ref.html"> | 2 <link rel="import" href="class_ref.html"> |
3 <link rel="import" href="error_view.html"> | 3 <link rel="import" href="error_view.html"> |
4 <link rel="import" href="eval_box.html"> | 4 <link rel="import" href="eval_box.html"> |
5 <link rel="import" href="eval_link.html"> | 5 <link rel="import" href="eval_link.html"> |
6 <link rel="import" href="field_ref.html"> | 6 <link rel="import" href="field_ref.html"> |
7 <link rel="import" href="function_ref.html"> | 7 <link rel="import" href="function_ref.html"> |
8 <link rel="import" href="inbound_reference.html"> | 8 <link rel="import" href="inbound_reference.html"> |
9 <link rel="import" href="instance_ref.html"> | 9 <link rel="import" href="instance_ref.html"> |
10 <link rel="import" href="observatory_element.html"> | 10 <link rel="import" href="observatory_element.html"> |
11 <link rel="import" href="nav_bar.html"> | 11 <link rel="import" href="nav_bar.html"> |
12 <link rel="import" href="object_common.html"> | 12 <link rel="import" href="object_common.html"> |
13 <link rel="import" href="context_ref.html"> | 13 <link rel="import" href="context_ref.html"> |
14 | 14 |
15 <polymer-element name="instance-view" extends="observatory-element"> | 15 <polymer-element name="instance-view" extends="observatory-element"> |
16 <template> | 16 <template> |
17 <link rel="stylesheet" href="css/shared.css"> | 17 <link rel="stylesheet" href="css/shared.css"> |
18 <nav-bar> | 18 <nav-bar> |
19 <top-nav-menu></top-nav-menu> | 19 <top-nav-menu></top-nav-menu> |
20 <vm-nav-menu vm="{{ instance.isolate.vm }}"></vm-nav-menu> | 20 <vm-nav-menu vm="{{ instance.isolate.vm }}"></vm-nav-menu> |
21 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> | 21 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> |
22 <!-- TODO(turnidge): Add library nav menu here. --> | 22 <!-- TODO(turnidge): Add library nav menu here. --> |
23 <class-nav-menu cls="{{ instance.clazz }}"></class-nav-menu> | 23 <class-nav-menu cls="{{ instance.clazz }}"></class-nav-menu> |
24 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> | 24 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> |
25 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 25 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 26 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
26 </nav-bar> | 27 </nav-bar> |
27 | 28 |
28 <template if="{{ instance.isError }}"> | 29 <template if="{{ instance.isError }}"> |
29 <error-view error_obj="{{ instance['error'] }}"></error-view> | 30 <error-view error_obj="{{ instance['error'] }}"></error-view> |
30 </template> | 31 </template> |
31 | 32 |
32 <template if="{{ !instance.isError }}"> | 33 <template if="{{ !instance.isError }}"> |
33 <div class="content"> | 34 <div class="content"> |
34 <template if="{{ instance.isAbstractType }}"> | 35 <template if="{{ instance.isAbstractType }}"> |
35 <h1>type {{ instance.name }}</h1> | 36 <h1>type {{ instance.name }}</h1> |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 <source-inset location="{{ instance.typeClass.location }}"></source-in
set> | 373 <source-inset location="{{ instance.typeClass.location }}"></source-in
set> |
373 </template> | 374 </template> |
374 </div> | 375 </div> |
375 | 376 |
376 </template> | 377 </template> |
377 <view-footer></view-footer> | 378 <view-footer></view-footer> |
378 </template> | 379 </template> |
379 </polymer-element> | 380 </polymer-element> |
380 | 381 |
381 <script type="application/dart" src="instance_view.dart"></script> | 382 <script type="application/dart" src="instance_view.dart"></script> |
OLD | NEW |