diff options
| author | Pierre-Charles David | 2016-11-08 14:28:56 +0000 |
|---|---|---|
| committer | Pierre-Charles David | 2016-11-28 10:19:59 +0000 |
| commit | 33e8ad5257805d6836d72faa1f7665967a652363 (patch) | |
| tree | 6149ee73a002286eb9d093c426fbb4d0a31da8db | |
| parent | b4d7eaf1c9f265fbce65ad2f3d801519013f268c (diff) | |
| download | org.eclipse.sirius-33e8ad5257805d6836d72faa1f7665967a652363.tar.gz org.eclipse.sirius-33e8ad5257805d6836d72faa1f7665967a652363.tar.xz org.eclipse.sirius-33e8ad5257805d6836d72faa1f7665967a652363.zip | |
[506053] Clarify the definition of the 'selection' variable on lists
Bug: 506053
Change-Id: I49924d3c3c5c03bf4fcab1ed72a7c44ef883b98a
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.html b/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.html index c29ae77273..6f75aafc6b 100644 --- a/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.html +++ b/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.html @@ -1114,7 +1114,8 @@ </p> <p>The expressions defined under the <em>Begin</em> can use the - <code>selection</code> variable which represents the values selected by the user in the list field. + <code>selection</code> variable which represents the values selected by the user in the list field. Note that + <code>selection</code> is always a collection, even if only a single element is currently selected. </p> <h4 id="list_styles">List Styles</h4> <p>See the diff --git a/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.textile b/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.textile index 2e8e06f6e9..7a36bf29d2 100644 --- a/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.textile +++ b/plugins/org.eclipse.sirius.doc/doc/specifier/properties/Properties_View_Description.textile @@ -416,7 +416,7 @@ h4(#list_action_pushed_button). Action Pushed Button To define the behavior of the button when is pushed, you simply specify the behavior associated to the edition inside the _Begin_ element using all the standard "model operations":../general/Model_Operations.html. -The expressions defined under the _Begin_ can use the @selection@ variable which represents the values selected by the user in the list field. +The expressions defined under the _Begin_ can use the @selection@ variable which represents the values selected by the user in the list field. Note that @selection@ is always a collection, even if only a single element is currently selected. h4(#list_styles). List Styles |
