Index: runtime/observatory/lib/src/elements/objectstore_ref.dart |
diff --git a/runtime/observatory/lib/src/elements/field_view.dart b/runtime/observatory/lib/src/elements/objectstore_ref.dart |
similarity index 54% |
copy from runtime/observatory/lib/src/elements/field_view.dart |
copy to runtime/observatory/lib/src/elements/objectstore_ref.dart |
index 234336d0782d03471c006936c6d9bec293af45c6..65dd6eb64fbefc7fa9ec7153d65a3a7c5e6f78b8 100644 |
--- a/runtime/observatory/lib/src/elements/field_view.dart |
+++ b/runtime/observatory/lib/src/elements/objectstore_ref.dart |
@@ -2,19 +2,15 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library field_view_element; |
+library objectstore_ref_element; |
-import 'dart:async'; |
-import 'observatory_element.dart'; |
import 'package:observatory/service.dart'; |
import 'package:polymer/polymer.dart'; |
+import 'service_ref.dart'; |
+import 'dart:async'; |
-@CustomTag('field-view') |
-class FieldViewElement extends ObservatoryElement { |
- @published Field field; |
- FieldViewElement.created() : super.created(); |
+@CustomTag('objectstore-ref') |
+class ObjectStoreRefElement extends ServiceRefElement { |
- Future refresh() { |
- return field.reload(); |
- } |
+ ObjectStoreRefElement.created() : super.created(); |
} |