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="instance_ref.html"> | 3 <link rel="import" href="instance_ref.html"> |
4 <link rel="import" href="library_ref.html"> | 4 <link rel="import" href="library_ref.html"> |
5 <link rel="import" href="nav_bar.html"> | 5 <link rel="import" href="nav_bar.html"> |
6 <link rel="import" href="script_ref.html"> | 6 <link rel="import" href="script_ref.html"> |
7 <link rel="import" href="observatory_element.html"> | 7 <link rel="import" href="observatory_element.html"> |
8 | 8 |
9 <polymer-element name="field-view" extends="observatory-element"> | 9 <polymer-element name="field-view" extends="observatory-element"> |
10 <template> | 10 <template> |
11 <link rel="stylesheet" href="css/shared.css"> | 11 <link rel="stylesheet" href="css/shared.css"> |
12 <nav-bar> | 12 <nav-bar> |
13 <top-nav-menu></top-nav-menu> | 13 <top-nav-menu></top-nav-menu> |
14 <vm-nav-menu vm="{{ field.isolate.vm }}"></vm-nav-menu> | 14 <vm-nav-menu vm="{{ field.isolate.vm }}"></vm-nav-menu> |
15 <isolate-nav-menu isolate="{{ field.isolate }}"></isolate-nav-menu> | 15 <isolate-nav-menu isolate="{{ field.isolate }}"></isolate-nav-menu> |
16 <library-nav-menu library="{{ field.library }}"></library-nav-menu> | 16 <library-nav-menu library="{{ field.library }}"></library-nav-menu> |
17 <template if="{{ field.dartOwner is ServiceClass }}"> | 17 <template if="{{ field.dartOwner is ServiceClass }}"> |
18 <class-nav-menu cls="{{ field.dartOwner }}"></class-nav-menu> | 18 <class-nav-menu cls="{{ field.dartOwner }}"></class-nav-menu> |
19 </template> | 19 </template> |
20 <nav-menu link="{{ makeLink('/inspect', field) }}" anchor="{{ field.name }
}" last="{{ true }}"></nav-menu> | 20 <nav-menu link="{{ makeLink('/inspect', field) }}" anchor="{{ field.name }
}" last="{{ true }}"></nav-menu> |
21 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 21 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 22 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
22 </nav-bar> | 23 </nav-bar> |
23 | 24 |
24 <div class="content"> | 25 <div class="content"> |
25 <h1> | 26 <h1> |
26 field | 27 field |
27 <template if="{{ field.isStatic }}">static</template> | 28 <template if="{{ field.isStatic }}">static</template> |
28 <template if="{{ field.isFinal }}">final</template> | 29 <template if="{{ field.isFinal }}">final</template> |
29 <template if="{{ field.isConst }}">const</template> | 30 <template if="{{ field.isConst }}">const</template> |
30 <template if="{{ (field.declaredType.name == 'dynamic' && | 31 <template if="{{ (field.declaredType.name == 'dynamic' && |
31 !field.isFinal && !field.isConst) }}"> | 32 !field.isFinal && !field.isConst) }}"> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 startPos="{{ field.location.tokenPos }}" | 95 startPos="{{ field.location.tokenPos }}" |
95 endPos="{{ field.location.tokenPos }}"> | 96 endPos="{{ field.location.tokenPos }}"> |
96 </script-inset> | 97 </script-inset> |
97 </div> | 98 </div> |
98 | 99 |
99 <view-footer></view-footer> | 100 <view-footer></view-footer> |
100 </template> | 101 </template> |
101 </polymer-element> | 102 </polymer-element> |
102 | 103 |
103 <script type="application/dart" src="field_view.dart"></script> | 104 <script type="application/dart" src="field_view.dart"></script> |
OLD | NEW |