[506280] Fix an issue with the documentation of the radio widget
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=506280
Change-Id: I5bf3d5d6a25a3edf7620f23c6ee166cf979ccf50
Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
diff --git a/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.html b/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.html
index 72738e1..bb9da22 100644
--- a/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.html
+++ b/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.html
@@ -35,7 +35,7 @@
<code>aql:'Visibility:'</code>
</li>
<li>valueExpression:
- <code>aql:packagename::Visibility.getEEnumLiteral(self.visibility.toString())</code>
+ <code>aql:packagename::Visibility.getEEnumLiteralByLiteral(self.visibility.toString())</code>
</li>
<li>editExpression:
<code>aql:self.eSet('visibility', newValue.instance)</code>
diff --git a/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.textile b/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.textile
index dbca5d4..69e4b35 100644
--- a/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.textile
+++ b/doc/org.eclipse.eef.documentation/pages/language/widgets/radio.textile
@@ -17,7 +17,7 @@
In order to display in the user interface some radio buttons with the value of an EAttribute with an eType EEnum (i.e. the visibility of an EObject), you can create a radio widget with the following properties:
* labelExpression: @aql:'Visibility:'@
-* valueExpression: @aql:packagename::Visibility.getEEnumLiteral(self.visibility.toString())@
+* valueExpression: @aql:packagename::Visibility.getEEnumLiteralByLiteral(self.visibility.toString())@
* editExpression: @aql:self.eSet('visibility', newValue.instance)@
* candidatesExpression: @aql:packagename::Visibility.eLiterals@
* candidateDisplayExpression: @aql:candidate.name@