]> source.dussan.org Git - vaadin-framework.git/commitdiff
Documentation/application screenshots update (#8137)
authorIlia Motornyi <elmot@vaadin.com>
Thu, 5 Jan 2017 11:47:42 +0000 (13:47 +0200)
committerPekka Hyvönen <pekka@vaadin.com>
Thu, 5 Jan 2017 11:47:42 +0000 (13:47 +0200)
* Documentation/application screenshots update

* Avoid redundant autoboxing in BackEndDataProvider's size callback (#8127)

* Update general Component documentation

Part of vaadin/framework8-issues#538

* Documentation/application screenshots update

* Notification types fixed

* Merge branch 'documentation-screenshots-part1' of https://github.com/vaadin/framework into documentation-screenshots-part1

12 files changed:
documentation/application/application-notifications.asciidoc
documentation/application/img/notification-error.png
documentation/application/img/notification-example2.png
documentation/application/img/notification-example3.png
documentation/application/img/notification-humanized.png
documentation/application/img/notification-tray.png
documentation/application/img/notification-warning.png
documentation/architecture/img/datamodel-sml.png [deleted file]
documentation/components/img/calendar-monthly.png [deleted file]
documentation/components/img/calendar-weekly.png [deleted file]
documentation/components/img/tooltip-richtext.png
documentation/components/img/tree-example1.png [deleted file]

index d19751d73f32556634cb87619c29f2fd4bb1b9e0..a53fb7d7b4e7d82666691026f3c0487cbbe1b5a5 100644 (file)
@@ -23,7 +23,7 @@ type, and displays it in the current page.
 ----
 Notification.show("This is the caption",
                   "This is the description",
-                  Notification.Type.WARNING_MESSAGE);
+                  Notification.Type.HUMANIZED_MESSAGE);
 ----
 
 [[figure.notification.example1]]
@@ -39,8 +39,8 @@ in a [classname]#Page#, typically the current page.
 [source, java]
 ----
 new Notification("This is a warning",
-    "<br/>This is the <i>last</i> warning",
-    Notification.TYPE_WARNING_MESSAGE, true)
+    "This is the <i>last</i> warning",
+    Notification.Type.WARNING_MESSAGE, true)
     .show(Page.getCurrent());
 ----
 
@@ -67,14 +67,14 @@ notification. If no notification type is given, the "humanized" type is used as
 the default. The notification types, listed below, are defined in the
 [classname]#Notification.Type# class.
 
-[parameter]#TYPE_HUMANIZED_MESSAGE#::
+[parameter]#HUMANIZED_MESSAGE#::
 image:img/notification-humanized.png[width=30%, scaledwidth=50%]
 +
 A user-friendly message that does not annoy too much: it does not require
 confirmation by clicking and disappears quickly. It is centered and has a
 neutral gray color.
 
-[parameter]#TYPE_WARNING_MESSAGE#::
+[parameter]#WARNING_MESSAGE#::
 image:img/notification-warning.png[width=30%, scaledwidth=50%]
 +
 Warnings are messages of medium importance. They are displayed with colors that
@@ -82,7 +82,7 @@ are neither neutral nor too distractive. A warning is displayed for 1.5 seconds,
 but the user can click the message box to dismiss it. The user can continue to
 interact with the application while the warning is displayed.
 
-[parameter]#TYPE_ERROR_MESSAGE#::
+[parameter]#ERROR_MESSAGE#::
 image:img/notification-error.png[width=30%, scaledwidth=50%]
 +
 Error messages are notifications that require the highest user attention, with
@@ -92,7 +92,7 @@ although the close box in the upper right corner indicates it visually. Unlike
 with other notifications, the user can not interact with the application while
 the error message is displayed.
 
-[parameter]#TYPE_TRAY_NOTIFICATION#::
+[parameter]#TRAY_NOTIFICATION#::
 image:img/notification-tray.png[width=30%, scaledwidth=50%]
 +
 Tray notifications are displayed in the "system tray" area, that is, in the
@@ -115,7 +115,7 @@ the current page.
 // Notification with default settings for a warning
 Notification notif = new Notification(
     "Warning",
-    "<br/>Area of reindeer husbandry",
+    "Area of reindeer husbandry",
     Notification.TYPE_WARNING_MESSAGE);
 
 // Customize it
index 8759712672efc583b00e5561c132b7d4fff25662..28793c72a37d036128c4405b324c61c56644ed0c 100644 (file)
Binary files a/documentation/application/img/notification-error.png and b/documentation/application/img/notification-error.png differ
index 25adf1be7846dabd9cb8aaabfc42b00bf113ec56..e48b24c86982c5dc42c8ad3dbd73b2bb6372ac72 100644 (file)
Binary files a/documentation/application/img/notification-example2.png and b/documentation/application/img/notification-example2.png differ
index 84d17b4387112218da549514c3dd14f7bb95fbb2..3479a8a2e456a3e5c90d88d82243f23aab7607b1 100644 (file)
Binary files a/documentation/application/img/notification-example3.png and b/documentation/application/img/notification-example3.png differ
index 602a46aa48ac893407f3fb221c1fb207620037e4..05db485b10cdbcff69f5daf22f0299054b46d56f 100644 (file)
Binary files a/documentation/application/img/notification-humanized.png and b/documentation/application/img/notification-humanized.png differ
index f970f04adb2afe2e5b752fe5d2bb92168720063a..ce5c79ab4e9de99f8c137b101438917232291423 100644 (file)
Binary files a/documentation/application/img/notification-tray.png and b/documentation/application/img/notification-tray.png differ
index 69a4d43dc1402d5d8d392f65e64f1ed0ee57c29a..bdc7c77759f705000adbc1e028dd1e9168486f3e 100644 (file)
Binary files a/documentation/application/img/notification-warning.png and b/documentation/application/img/notification-warning.png differ
diff --git a/documentation/architecture/img/datamodel-sml.png b/documentation/architecture/img/datamodel-sml.png
deleted file mode 100644 (file)
index 8087ffa..0000000
Binary files a/documentation/architecture/img/datamodel-sml.png and /dev/null differ
diff --git a/documentation/components/img/calendar-monthly.png b/documentation/components/img/calendar-monthly.png
deleted file mode 100644 (file)
index 1b9b1c5..0000000
Binary files a/documentation/components/img/calendar-monthly.png and /dev/null differ
diff --git a/documentation/components/img/calendar-weekly.png b/documentation/components/img/calendar-weekly.png
deleted file mode 100644 (file)
index d3b60aa..0000000
Binary files a/documentation/components/img/calendar-weekly.png and /dev/null differ
index de184fa20efe38b54446044df1ece96aafc9ef23..9185013822337e2818eb01a882f4b109d0107fa7 100644 (file)
Binary files a/documentation/components/img/tooltip-richtext.png and b/documentation/components/img/tooltip-richtext.png differ
diff --git a/documentation/components/img/tree-example1.png b/documentation/components/img/tree-example1.png
deleted file mode 100644 (file)
index 509d9a5..0000000
Binary files a/documentation/components/img/tree-example1.png and /dev/null differ