From d712a96fdc86af9f30a9984a63cf1eafd17588a7 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Fri, 17 Mar 2017 16:22:50 -0700 Subject: [PATCH] [Styleguide] Diagrams and intro content updated Fixes #1233 --- example/styleguide/res/images/diagram-objects.svg | 2 +- example/styleguide/res/images/diagram-views.svg | 1 + example/styleguide/res/templates/intro.html | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 example/styleguide/res/images/diagram-views.svg diff --git a/example/styleguide/res/images/diagram-objects.svg b/example/styleguide/res/images/diagram-objects.svg index c62a2fc3a7..c457666dcf 100644 --- a/example/styleguide/res/images/diagram-objects.svg +++ b/example/styleguide/res/images/diagram-objects.svg @@ -1 +1 @@ -objects-diagram \ No newline at end of file +Telemetry Elementdiagram-objectsDisplay LayoutPlotClockTable \ No newline at end of file diff --git a/example/styleguide/res/images/diagram-views.svg b/example/styleguide/res/images/diagram-views.svg new file mode 100644 index 0000000000..c62a2fc3a7 --- /dev/null +++ b/example/styleguide/res/images/diagram-views.svg @@ -0,0 +1 @@ +objects-diagram \ No newline at end of file diff --git a/example/styleguide/res/templates/intro.html b/example/styleguide/res/templates/intro.html index ef797669f6..305dabc2bb 100644 --- a/example/styleguide/res/templates/intro.html +++ b/example/styleguide/res/templates/intro.html @@ -30,7 +30,7 @@

Everything Is An Object

-

First and foremost, Open MCT uses a “object-oriented” approach: everything in the system is an object. Objects come in different types, and some objects can contain other objects of given types. This is a very familiar and ubiquitous model, very similar to how the file management system of all modern computers work. For example, a folder object can contain any other type of object. A presentation file can contain an image. This is conceptually the same in Open MCT.

+

First and foremost, Open MCT uses a “object-oriented” approach: everything in the system is an object. Objects come in different types, and some objects can contain other objects of given types. This is similar to how the file management system of all modern computers works: a folder object can contain any other type of object, a presentation file can contain an image. This is conceptually the same in Open MCT.

As you develop plugins for Open MCT, consider how a generalized component might be combined with others when designing to create a rich and powerful larger object, rather than adding a single monolithic, non-modular plugin. To solve a particular problem or allow a new feature in Open MCT, you may need to introduce more than just one new object type.

@@ -60,7 +60,7 @@

Views are simply different ways to view the content of a given object. For example, telemetry data could be viewed as a plot or a table. In each view, all of the data is present; it’s just represented differently. If we looked at the contents of a Folder and certain files disappeared because we switched from a list to a grid view, the user would find this unexpected and confusing. When providing views for an object, all the content of the object should be present in each view.

- +