Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Papyrus/Papyrus User Guide/Table Documentation"
(First version of the table user documentation) |
(→Table Features) |
||
Line 70: | Line 70: | ||
The table framework provides a large number of features. Here we will describe all existing features supported by the framework, but not necessarly by all the tables.<br> | The table framework provides a large number of features. Here we will describe all existing features supported by the framework, but not necessarly by all the tables.<br> | ||
− | #Edit Cell Values<br> | + | #Edit Cell Values<br> |
#Change Axis (Columns/Row) Order<br> | #Change Axis (Columns/Row) Order<br> | ||
#Invert Axis (Exchange Column And Row)<br> | #Invert Axis (Exchange Column And Row)<br> | ||
Line 81: | Line 81: | ||
#Display Index Column/Row Header<br> | #Display Index Column/Row Header<br> | ||
#Display Label Column/Row Header<br> | #Display Label Column/Row Header<br> | ||
− | # | + | #Configure Index Header Style (A, B, C...Z, AA, AB, ... or 0,1,2,3)<br> |
− | # | + | #Configure Label Header Style : select the information to Display in the Header Label (Name, Multiplicity, Type, Icon, isDerived)<br> |
#Export table into the Excel Format<br> | #Export table into the Excel Format<br> | ||
#Print table<br> | #Print table<br> | ||
Line 92: | Line 92: | ||
=== <br> === | === <br> === | ||
− | === Edit Cell Values === | + | === Edit Cell Values === |
Double Click on a cell or selecting a cell then pressing F2, excepted for derived features<br> | Double Click on a cell or selecting a cell then pressing F2, excepted for derived features<br> | ||
Line 106: | Line 106: | ||
<br> | <br> | ||
− | {| width="1007 | + | <br> |
+ | |||
+ | |||
+ | |||
+ | {| width="1007" cellspacing="1" cellpadding="1" border="1" align="center" summary="This table describes the feature of the table when the axis are NOT inverted." | ||
+ | |+ | ||
+ | === Features/Tables, when the Axis are NOT inverted. === | ||
+ | |||
+ | |||
+ | |||
|- | |- | ||
− | | <br> | + | | <br> |
− | | UML Generic | + | | valign="middle" align="center" | UML Generic Table<br> |
− | | SysML Allocation Table<br> | + | | valign="middle" align="center" | SysML Allocation Table<br> |
− | | SysML Requirement Table<br> | + | | valign="middle" align="center" | SysML Requirement Table<br> |
|- | |- | ||
− | | Edit Cell Value<br> | + | | Content synchronized on table context<br> |
− | | align="center" colspan="3" | | + | | valign="middle" align="center" | No<br> |
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | |- | ||
+ | | Edit Cell Value<br> | ||
+ | | valign="middle" align="center" colspan="3" rowspan="2" | Yes<br> | ||
|- | |- | ||
| Change Axis Order<br> | | Change Axis Order<br> | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | Add Column Axis By Drag & Drop | + | | Add Column Axis By Drag & Drop |
− | | | + | | valign="middle" align="center" colspan="3" | No<br> |
− | | | + | |- |
− | | | + | | Add Row Axis By Drag & Drop |
+ | | valign="middle" align="center" | All UML Elements<br> | ||
+ | | valign="middle" align="center" colspan="2" rowspan="3" | No (Synchronized table) | ||
+ | |- | ||
+ | | Remove Column<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | |- | ||
+ | | Remove Row<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | |- | ||
+ | | Destroy Column Element<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | |- | ||
+ | | Destroy Row Element<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | |- | ||
+ | | Choose the Displayed Column<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
+ | |- | ||
+ | | Choose the Displayed Row<br> | ||
+ | | valign="middle" align="center" | No<br> | ||
+ | | valign="middle" align="center" | No<br> | ||
+ | | valign="middle" align="center" | No<br> | ||
+ | |- | ||
+ | | Paste Column From Spreadsheet<br> | ||
+ | | valign="middle" align="center" | No<br> | ||
+ | | valign="middle" align="center" | No<br> | ||
+ | | valign="middle" align="center" | No<br> | ||
+ | |- | ||
+ | | Paste Row From Spreadsheet<br> | ||
+ | | valign="middle" align="center" rowspan="8" colspan="3" | Yes | ||
+ | |- | ||
+ | | Display Index Column/Row Header<br> | ||
+ | |- | ||
+ | | Display Label Column/Row Header<br> | ||
+ | |- | ||
+ | | Configure Index Header Style <br> | ||
+ | |- | ||
+ | | Configure Label Header Style<br> | ||
+ | |- | ||
+ | | Export to Excel<br> | ||
+ | |- | ||
+ | | Print table<br> | ||
+ | |- | ||
+ | | Sort Column Axis By Name<br> | ||
+ | |- | ||
+ | | Sort Row Axis By Name<br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | |- | ||
+ | | Save and restore Table Axis Configuration<br> | ||
+ | | valign="middle" align="center" rowspan="2" colspan="3" | Yes | ||
+ | |- | ||
+ | | Select All <br> | ||
+ | |- | ||
+ | | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
|- | |- | ||
− | | | + | | <br> |
− | | | + | | valign="middle" align="center" | <br> |
− | | | + | | valign="middle" align="center" | <br> |
− | | | + | | valign="middle" align="center" | <br> |
|} | |} | ||
Revision as of 10:46, 21 August 2013
Since Papyrus 0.10 (Eclipse Kepler), Papyrus provides a new version of the tabular editors. This version will replace the previous version in Eclipse Luna.
Contents
Existing Tables
- UML Generic Table
- SysML Allocation Table
- SysML Requirement Table
- Views Table
UML Generic Table
Elements Accepted : UML Element only (all of them)
Filling Way : User, by Drag&Drop from the Model Explorer
Possible Context : all UML Element.
Save : All rows displayed in the table are saved in the model
Element Creation : All UML Elements
SysML Allocation Table
Elements Accepted : SysML Allocation only
Filling Way : Automatic, by Synchronization on the context of the model. Only the Allocation directly owned by the context of the table are displayed.
Possible Context : UML Package, with the SysML Profile Allocations applied.
Save : The Rows are not serialized in the model, because they are derived of the UML Model.
Element Creation : SysML Allocation
SysML Requirement Table
Elements Accepted : SysML Requirement only
Filling Way : Automatic, by Synchronization on the context of the model. Only the Requirements directly owned by the context of the table are displayed.
Possible Context : UML Package, with the SysML Profile Requirement applied.
Save : The Rows are not serialized in the model, because they are derived of the UML Model.
Element Creation : SysML Requirement
Views Table
Elements Accepted : Papyrus Views (Table/Diagram/...) only
Filling Way : Automatic, by Synchronization on the context of the model.
Possible Context : All UML Elements
Save : The Rows are not serialized in the model, because they are derived of the notation Model.
None
Table Features
The table framework provides a large number of features. Here we will describe all existing features supported by the framework, but not necessarly by all the tables.
- Edit Cell Values
- Change Axis (Columns/Row) Order
- Invert Axis (Exchange Column And Row)
- Add Axis (Column/Row) Element by Drag&Drop from another view (ModelExplorer)
- Remove Column/Row
- Destroy Column/Row Element
- Rename Column/Row Header
- Choose the Displayed Columns/Rows
- Paste Columns/Rows From External Spreadsheet
- Display Index Column/Row Header
- Display Label Column/Row Header
- Configure Index Header Style (A, B, C...Z, AA, AB, ... or 0,1,2,3)
- Configure Label Header Style : select the information to Display in the Header Label (Name, Multiplicity, Type, Icon, isDerived)
- Export table into the Excel Format
- Print table
- Sort Column/Row Axis by Alphabetic order
- Sort Rows selecting one or several column header
- Save and restore Table Axis Configuration
- Select All
Edit Cell Values
Double Click on a cell or selecting a cell then pressing F2, excepted for derived features
Change Axis Order
Click on the axis to move and drop it to its new location.
Invert Axis
Select the action Invert Axis in the popup menu or change it into the Table Property View.
|
UML Generic Table |
SysML Allocation Table |
SysML Requirement Table |
Content synchronized on table context |
No |
Yes |
Yes |
Edit Cell Value |
Yes | ||
Change Axis Order | |||
Add Column Axis By Drag & Drop | No | ||
Add Row Axis By Drag & Drop | All UML Elements |
No (Synchronized table) | |
Remove Column |
Yes | ||
Remove Row |
Yes | ||
Destroy Column Element |
Yes |
Yes |
Yes |
Destroy Row Element |
Yes |
Yes |
Yes |
Choose the Displayed Column |
Yes |
Yes |
Yes |
Choose the Displayed Row |
No |
No |
No |
Paste Column From Spreadsheet |
No |
No |
No |
Paste Row From Spreadsheet |
Yes | ||
Display Index Column/Row Header | |||
Display Label Column/Row Header | |||
Configure Index Header Style | |||
Configure Label Header Style | |||
Export to Excel | |||
Print table | |||
Sort Column Axis By Name | |||
Sort Row Axis By Name |
|
|
|
Save and restore Table Axis Configuration |
Yes | ||
Select All | |||
|
|
|
|
|
|
|
|
Table Property View
The Property View of the table is accessible selecting the table in the ModelExplorer.