This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hop-docs.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 8a01e2e Documentation updated to 0ee4b76
8a01e2e is described below
commit 8a01e2e52c90eae9250bbc68b3e06faeab9629b6
Author: jenkins <[email protected]>
AuthorDate: Tue Nov 10 08:04:44 2020 +0000
Documentation updated to 0ee4b76
---
.../modules/ROOT/pages/webhop/developer-guide.adoc | 22 ++++++++++++++++++++++
.../modules/ROOT/pages/webhop/index.adoc | 3 +++
2 files changed, 25 insertions(+)
diff --git a/hop-dev-manual/modules/ROOT/pages/webhop/developer-guide.adoc
b/hop-dev-manual/modules/ROOT/pages/webhop/developer-guide.adoc
new file mode 100644
index 0000000..2130b12
--- /dev/null
+++ b/hop-dev-manual/modules/ROOT/pages/webhop/developer-guide.adoc
@@ -0,0 +1,22 @@
+= Developer Guide
+
+== Methods to avoid
+
+
+=== Display.getDefault() is not allowed
+
+See https://www.eclipse.org/forums/index.php/t/805303/
+
+____
+RAP is multi user framework by its nature. Every user session is
+associated with a display. In RAP, Display#getDefault() will not create
+a new display when it's called from non-UI thread - read
+Display#getDefault JavaDoc. When you execute a code in a background
+thread, RAP needs to know for which UI session (display) it belongs.
+That's why you have to provide the correct UISession/display from outside.
+____
+
+[source,java]
+----
+Display.getDefault() cannot be used in non-UI thread with RAP/RWT.
+----
diff --git a/hop-dev-manual/modules/ROOT/pages/webhop/index.adoc
b/hop-dev-manual/modules/ROOT/pages/webhop/index.adoc
new file mode 100644
index 0000000..cbdedac
--- /dev/null
+++ b/hop-dev-manual/modules/ROOT/pages/webhop/index.adoc
@@ -0,0 +1,3 @@
+= Index Page
+
+* xref:webhop/developer-guide.adoc[Developer Guide]