Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2015-08-28 05:44:25 -0400
committerMarvin Mueller2015-08-28 05:46:38 -0400
commit954cc685cabbd0de764908a8a32ce616bdf6b534 (patch)
treee656cd64fba752c63b14a31ba096b72a124a5502
parentfa4351bbfe4b076168942dde7a1279efb18fb1d2 (diff)
downloadorg.eclipse.jubula.core-954cc685cabbd0de764908a8a32ce616bdf6b534.tar.gz
org.eclipse.jubula.core-954cc685cabbd0de764908a8a32ce616bdf6b534.tar.xz
org.eclipse.jubula.core-954cc685cabbd0de764908a8a32ce616bdf6b534.zip
Sprint task - add howTo documentation for GEF
-rw-r--r--org.eclipse.jubula.project.configuration/howTo/2do/howTo-GEF.tracwiki3
-rw-r--r--org.eclipse.jubula.project.configuration/howTo/howTo-GEF.tracwiki42
2 files changed, 42 insertions, 3 deletions
diff --git a/org.eclipse.jubula.project.configuration/howTo/2do/howTo-GEF.tracwiki b/org.eclipse.jubula.project.configuration/howTo/2do/howTo-GEF.tracwiki
deleted file mode 100644
index 5b53d6fbe..000000000
--- a/org.eclipse.jubula.project.configuration/howTo/2do/howTo-GEF.tracwiki
+++ /dev/null
@@ -1,3 +0,0 @@
-= Pre-requisites =
-
-= Recipe =
diff --git a/org.eclipse.jubula.project.configuration/howTo/howTo-GEF.tracwiki b/org.eclipse.jubula.project.configuration/howTo/howTo-GEF.tracwiki
new file mode 100644
index 000000000..ae0b15f95
--- /dev/null
+++ b/org.eclipse.jubula.project.configuration/howTo/howTo-GEF.tracwiki
@@ -0,0 +1,42 @@
+= Pre-requisites =
+
+== general architecture ==
+* org.eclipse.jubula.rc.rcp.e3 is responsible for tester class
+ * part of the rcp accessor
+ * only for pure e3 at this moment
+ * dependencies are optional so this bundle could be loaded if no GEF is available
+ * !FigureCanvas is the only supported component
+ * tests on figures and editparts on the !FigureCanvas are done by textpath
+ * naming the Figures with an IEditPartIdentifier is therefore very important
+ * Names could be inspected via Inspector (Window->Show View -> Inspector)
+ * only one editpart at a time, means you activate the inspector only for one figure name/hierarchy
+ * name or name with hierarchy could be copied from this view
+ * org.eclipse.jubula.toolkit.gef.provider responsible for CAPS
+ * depends on rcp toolkit
+[[BR]][[BR]]
+
+== Naming EditParts for tests ==
+
+* org.eclipse.jubula.rc.rcp.e3.gef.identifier.IEditPartIdentifier is responsible for naming the !EditParts
+* to name parts own plugin is necessary which must be deployed in the AUT
+ * a org.eclipse.core.runtime.IAdapterFactory must be implemented
+ * an extension for org.eclipse.core.runtime.adapters must be written see `[1]`
+
+[[BR]][[BR]]
+
+`[1]` example for plugin.xml
+{{{
+<plugin>
+ <extension
+ point="org.eclipse.core.runtime.adapters">
+ <factory
+ adaptableType="class.path.to.wanted.editPart"
+ class="class.path.to.own.adapterFactory">
+ <adapter
+ type="org.eclipse.jubula.rc.rcp.e3.gef.identifier.IEditPartIdentifier">
+ </adapter>
+ </factory>
+ </extension>
+</plugin>
+}}}
+

Back to the top