Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Liem PHAN2017-05-31 07:59:14 +0000
committervincent lorenzo2017-11-20 12:31:54 +0000
commit8eca02ee0e11692796d583e3b86df24540f34100 (patch)
treef213e560615a2917b0e5fe8f8f96653224bf914a /plugins/doc
parent5afa41f30f3f7a556cb3fdbee14a90733af607a6 (diff)
downloadorg.eclipse.papyrus-8eca02ee0e11692796d583e3b86df24540f34100.tar.gz
org.eclipse.papyrus-8eca02ee0e11692796d583e3b86df24540f34100.tar.xz
org.eclipse.papyrus-8eca02ee0e11692796d583e3b86df24540f34100.zip
Bug 515737: [Table] Papyrus Table must be able to display list in cells
with a new line for each object owned by the list and fake line between values https://bugs.eclipse.org/bugs/show_bug.cgi?id=515737 - Add icon for each element of the list - Create a new custom table cell painter - Add menu context and named style for each multiple values column such as multiple [boolean | integer | real | string | reference | enum] - Handle generic table, generic tree table, class tree table, generic stereotype table - Handle also invert table for the invertable one - Support wraptext + autoResizeCellHeight for multi string cell - Add dev doc and user doc for the new feature - JUnit Test Note that EOperationAxis column is not supported yet. Change-Id: If2da613cf6f7c11c31652f6ac4a719faa36e5733 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'plugins/doc')
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/images/DisplayListOnSeparatedRows.pngbin0 -> 31200 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableDevDoc.mediawiki6
-rwxr-xr-xplugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableUserDoc.mediawiki12
3 files changed, 16 insertions, 2 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/images/DisplayListOnSeparatedRows.png b/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/images/DisplayListOnSeparatedRows.png
new file mode 100644
index 00000000000..eded1b9121e
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/images/DisplayListOnSeparatedRows.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableDevDoc.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableDevDoc.mediawiki
index 5943bb18768..98170ae2f31 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableDevDoc.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableDevDoc.mediawiki
@@ -1946,7 +1946,11 @@ NamedStyles are properties that the users can add to table configurations to pro
| child of Table
| determines if the cell height will be resized automatically when displaying the table
|-
-|
+| style="font-weight: bold;" | displayListOnSeparatedRows
+| BooleanValueStyle
+| child of Axis
+| determines if the elements list of a fully selected column (or row in an invert table) is displayed on separated rows or single row
+|-
|
|
|
diff --git a/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableUserDoc.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableUserDoc.mediawiki
index bdf772cc601..ce67331800e 100755
--- a/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableUserDoc.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.infra.nattable.doc/src/site/mediawiki/tableUserDoc.mediawiki
@@ -218,8 +218,11 @@ Moreover Tree table provides some specific features
[[File:images/ConfigureUnsupportedCellContent.PNG|frame|none|Preference to configure unsupported cell content]]
:Then the content of all cells under unsupported columns will be updated immediately, as showed in the following figure:
[[File:images/UnsupportedCellContentExample.PNG|frame|none|Unsupported cell content example]]
+; Display List on Separated Rows for fully selected columns/rows with multiple values<br>
+[[File:images/DisplayListOnSeparatedRows.png|frame|none|Menu to Show/Hide Display List on Separated Rows]]
+: Select fully a column with multiple values (or a row in an invert table) then right click on the corresponding column header to show the context menu and select Display List On Separated Rows
===The list of available features for tables===
-This table lists all feature available for Tabular editors provided by Papyrus (the 6th of August 2017). This list could be considered as representative of tables capabilities '''assuming 3 points''':
+This table lists all feature available for Tabular editors provided by Papyrus (the 1st of September 2017). This list could be considered as representative of tables capabilities '''assuming 3 points''':
# The table is not inverted
# Elements are on rows
# Features are on columns
@@ -413,6 +416,13 @@ if the user changed the configuration
| Configure unsupported cell content
| colspan="5" style="text-align: center;" | Yes (action provided by Preferences/Papyrus/NatTable/Cell Preferences)
|-
+| Display List on Separated Rows for a fully selected column of multiple values
+| style="text-align: center;" | Yes
+| style="text-align: center;" | Yes
+| style="text-align: center;" | Yes
+| style="text-align: center;" | No
+| style="text-align: center;" | Yes
+|-
|}
== Fill cells ==

Back to the top