Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: packages/plugin/README.md

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/plugin/LICENSE ('k') | packages/plugin/lib/manager.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/plugin/README.md
diff --git a/packages/plugin/README.md b/packages/plugin/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..3d5c0624e99310a130ad6ea86f89155cbe17063a
--- /dev/null
+++ b/packages/plugin/README.md
@@ -0,0 +1,33 @@
+# plugin
+
+Support for building plugins in Dart.
+
+This project defines a simple framework for defining plugins. A _plugin_ is the
+unit of extensibility for a host application.
+
+An _extension point_ represents one way of extending the host application. For
+example, a file viewer application might define an extension point to allow
+viewers for new file types to be added to the application.
+
+The host application must provide at least one extension point that plugins can
+extend. Every extension point must have a unique name associated with it, and
+should specify the type of the objects that will be accepted as extensions. In
+the example above, the extension point might require that all extensions
+implement the interface FileViewer.
+
+Any plugin can define extension points that other plugins can extend. The host
+application contributes its own extension point(s) by defining a plugin.
+
+An _extension_ is an object that a plugin associates with a particular extension
+point. To continue the example, a plugin that supports the viewing of .gif files
+would create an instance of GifFileViewer, a class that implements FileViewer.
+
+The framework in this package then connects the defined extensions with the
+defined extension points so that the separately contributed plugins can
+coordinate to accomplish the larger goal.
+
+## Features and bugs
+
+Please file feature requests and bugs at the [issue tracker][tracker].
+
+[tracker]: https://github.com/dart-lang/plugin/issues
« no previous file with comments | « packages/plugin/LICENSE ('k') | packages/plugin/lib/manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698