| 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="error_view.html"> | 2 <link rel="import" href="error_view.html"> |
| 3 <link rel="import" href="eval_box.html"> | 3 <link rel="import" href="eval_box.html"> |
| 4 <link rel="import" href="eval_link.html"> | 4 <link rel="import" href="eval_link.html"> |
| 5 <link rel="import" href="field_ref.html"> | |
| 6 <link rel="import" href="inbound_reference.html"> | 5 <link rel="import" href="inbound_reference.html"> |
| 7 <link rel="import" href="instance_ref.html"> | |
| 8 <link rel="import" href="object_common.html"> | 6 <link rel="import" href="object_common.html"> |
| 9 <link rel="import" href="context_ref.html"> | |
| 10 | 7 |
| 11 <polymer-element name="instance-view"> | 8 <polymer-element name="instance-view"> |
| 12 <template> | 9 <template> |
| 13 <link rel="stylesheet" href="css/shared.css"> | 10 <link rel="stylesheet" href="css/shared.css"> |
| 14 <nav-bar> | 11 <nav-bar> |
| 15 <top-nav-menu></top-nav-menu> | 12 <top-nav-menu></top-nav-menu> |
| 16 <vm-nav-menu vm="{{ instance.isolate.vm }}"></vm-nav-menu> | 13 <vm-nav-menu vm="{{ instance.isolate.vm }}"></vm-nav-menu> |
| 17 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> | 14 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> |
| 18 <!-- TODO(turnidge): Add library nav menu here. --> | 15 <!-- TODO(turnidge): Add library nav menu here. --> |
| 19 <class-nav-menu cls="{{ instance.clazz }}"></class-nav-menu> | 16 <class-nav-menu cls="{{ instance.clazz }}"></class-nav-menu> |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 </curly-block><br><br> | 185 </curly-block><br><br> |
| 189 </template> | 186 </template> |
| 190 | 187 |
| 191 <template if="{{ instance.fields.isNotEmpty }}"> | 188 <template if="{{ instance.fields.isNotEmpty }}"> |
| 192 fields ({{ instance.fields.length }}) | 189 fields ({{ instance.fields.length }}) |
| 193 <curly-block expand="{{ instance.fields.length <= 100 }}"> | 190 <curly-block expand="{{ instance.fields.length <= 100 }}"> |
| 194 <div class="memberList"> | 191 <div class="memberList"> |
| 195 <template repeat="{{ field in instance.fields }}"> | 192 <template repeat="{{ field in instance.fields }}"> |
| 196 <div class="memberItem"> | 193 <div class="memberItem"> |
| 197 <div class="memberName"> | 194 <div class="memberName"> |
| 198 <field-ref ref="{{ field['decl'] }}"></field-ref> | 195 <field-ref ref="{{ field.decl }}"></field-ref> |
| 199 </div> | 196 </div> |
| 200 <div class="memberValue"> | 197 <div class="memberValue"> |
| 201 <any-service-ref ref="{{ field['value'] }}"></any-service-re
f> | 198 <any-service-ref ref="{{ field.value }}"></any-service-ref> |
| 202 </div> | 199 </div> |
| 203 </div> | 200 </div> |
| 204 </template> | 201 </template> |
| 205 </div> | 202 </div> |
| 206 </curly-block><br><br> | 203 </curly-block><br><br> |
| 207 </template> | 204 </template> |
| 208 | 205 |
| 209 <template if="{{ instance.elements.isNotEmpty }}"> | 206 <template if="{{ instance.elements.isNotEmpty }}"> |
| 210 elements ({{ instance.length }}) | 207 elements ({{ instance.length }}) |
| 211 <curly-block expand="{{ instance.elements.length <= 100 }}"> | 208 <curly-block expand="{{ instance.elements.length <= 100 }}"> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 231 </curly-block><br><br> | 228 </curly-block><br><br> |
| 232 </template> | 229 </template> |
| 233 | 230 |
| 234 <template if="{{ instance.associations.isNotEmpty }}"> | 231 <template if="{{ instance.associations.isNotEmpty }}"> |
| 235 associations ({{ instance.length }}) | 232 associations ({{ instance.length }}) |
| 236 <curly-block expand="{{ instance.associations.length <= 100 }}"> | 233 <curly-block expand="{{ instance.associations.length <= 100 }}"> |
| 237 <div class="memberList"> | 234 <div class="memberList"> |
| 238 <template repeat="{{ association in instance.associations }}"> | 235 <template repeat="{{ association in instance.associations }}"> |
| 239 <div class="memberItem"> | 236 <div class="memberItem"> |
| 240 <div class="memberValue"> | 237 <div class="memberValue"> |
| 241 [<any-service-ref ref="{{ association['key'] }}"></any-servi
ce-ref>] | 238 [<any-service-ref ref="{{ association.key }}"></any-service-
ref>] |
| 242 </div> | 239 </div> |
| 243 <div class="memberValue"> | 240 <div class="memberValue"> |
| 244 <any-service-ref ref="{{ association['value'] }}"></any-serv
ice-ref> | 241 <any-service-ref ref="{{ association.value }}"></any-service
-ref> |
| 245 </div> | 242 </div> |
| 246 </div> | 243 </div> |
| 247 </template> | 244 </template> |
| 248 <template if="{{ instance.length != instance.associations.length }
}"> | 245 <template if="{{ instance.length != instance.associations.length }
}"> |
| 249 <div class="memberItem"> | 246 <div class="memberItem"> |
| 250 <div class="memberName">...</div> | 247 <div class="memberName">...</div> |
| 251 <div class="memberValue"> | 248 <div class="memberValue"> |
| 252 <em>{{ instance.length - instance.associations.length }} omi
tted associations</em> | 249 <em>{{ instance.length - instance.associations.length }} omi
tted associations</em> |
| 253 </div> | 250 </div> |
| 254 </div> | 251 </div> |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 <source-inset location="{{ instance.typeClass.location }}"></source-in
set> | 366 <source-inset location="{{ instance.typeClass.location }}"></source-in
set> |
| 370 </template> | 367 </template> |
| 371 </div> | 368 </div> |
| 372 | 369 |
| 373 </template> | 370 </template> |
| 374 <view-footer></view-footer> | 371 <view-footer></view-footer> |
| 375 </template> | 372 </template> |
| 376 </polymer-element> | 373 </polymer-element> |
| 377 | 374 |
| 378 <script type="application/dart" src="instance_view.dart"></script> | 375 <script type="application/dart" src="instance_view.dart"></script> |
| OLD | NEW |