Notice: This Wiki is now read only and edits are no longer 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"
(→Table Features) |
|||
Line 78: | Line 78: | ||
#Rename Column/Row Header<br> | #Rename Column/Row Header<br> | ||
#Choose the Displayed Columns/Rows<br> | #Choose the Displayed Columns/Rows<br> | ||
+ | #Choose the Displayed Columns/Rows for Stereotype Property in the popup menu<br> | ||
#Paste Columns/Rows From External Spreadsheet<br> | #Paste Columns/Rows From External Spreadsheet<br> | ||
#Display Index Column/Row Header<br> | #Display Index Column/Row Header<br> | ||
Line 88: | Line 89: | ||
#Sort Rows selecting one or several column header<br> | #Sort Rows selecting one or several column header<br> | ||
#Save and restore Table Axis Configuration<br> | #Save and restore Table Axis Configuration<br> | ||
− | #Select All | + | #Select All |
+ | #AutoResize axis<br> | ||
=== <br> === | === <br> === | ||
Line 104: | Line 106: | ||
Select the action Invert Axis in the popup menu or change it into the Table Property View. | Select the action Invert Axis in the popup menu or change it into the Table Property View. | ||
− | <br> | + | === Add Axis (Column/Row) Element by Drag&Drop<br> === |
− | <br> | + | Select your element and drop it into the table, in the column region or in the row region to add it.<br> |
+ | |||
+ | === Remove Column/Row<br> === | ||
+ | |||
+ | Select the header of the axis to remove then right click and select Remove Column/Row. The axis will be remove of the table, but the represented element will continue to be in the model.<br> | ||
+ | |||
+ | === Destroy Column/Row Element<br> === | ||
+ | |||
+ | Select the header of the axis element to destroy then right click and select Destroy Column/Row Element. The represented element will be destroyed and its axis will be removed from the table.<br> | ||
+ | |||
+ | === Rename Column/Row Header<br> === | ||
+ | |||
+ | This function can do 2 things according to the usecase : <br> | ||
+ | |||
+ | *Rename the element represented by the axis, when the element is owned by your model<br> | ||
+ | *Define an alias to the axis, when the element is not owned by your model (UML Feature for example)<br> | ||
+ | |||
+ | Select the header of the axis element to rename then right click and select Rename Header.<br> | ||
+ | |||
+ | === Choose the Displayed Columns/Rows<br> === | ||
+ | |||
+ | Right click in the table (not in the header) and select Columns -> Create/Destroy Columns. (the same thing for rows<br> | ||
+ | |||
+ | === Choose the Displayed Columns/Rows for Stereotype Property in the popup menu<br> === | ||
+ | |||
+ | Right click in the table (not in the header) and select Select Stereotype Properties Columns (or Rows)<br> | ||
Line 120: | Line 147: | ||
| valign="middle" align="center" | UML Generic Table<br> | | valign="middle" align="center" | UML Generic Table<br> | ||
| valign="middle" align="center" | SysML Allocation Table<br> | | valign="middle" align="center" | SysML Allocation Table<br> | ||
− | | valign="middle" align="center" | SysML Requirement Table<br> | + | | valign="middle" align="center" | SysML Requirement Table<br> |
+ | | valign="middle" align="center" | Views Table<br> | ||
|- | |- | ||
| Content synchronized on table context<br> | | Content synchronized on table context<br> | ||
| valign="middle" align="center" | No<br> | | valign="middle" align="center" | No<br> | ||
+ | | valign="middle" align="center" | Yes<br> | ||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
|- | |- | ||
| Edit Cell Value<br> | | Edit Cell Value<br> | ||
− | | valign="middle" align="center" | + | | valign="middle" align="center" rowspan="2" colspan="4" | 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=" | + | | valign="middle" align="center" colspan="4" | No<br> |
|- | |- | ||
| Add Row Axis By Drag & Drop | | Add Row Axis By Drag & Drop | ||
| valign="middle" align="center" | All UML Elements<br> | | valign="middle" align="center" | All UML Elements<br> | ||
− | | valign="middle" align="center" | + | | valign="middle" align="center" rowspan="3" colspan="3" | No (Synchronized table) |
|- | |- | ||
| Remove Column<br> | | Remove Column<br> | ||
Line 148: | Line 177: | ||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
− | | valign="middle" align="center" | Yes<br> | + | | valign="middle" align="center" | Yes<br> |
+ | | valign="middle" align="center" | <br> | ||
|- | |- | ||
| Destroy Row Element<br> | | Destroy Row Element<br> | ||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
− | |||
− | |||
− | |||
| valign="middle" align="center" | Yes<br> | | valign="middle" align="center" | Yes<br> | ||
− | | valign="middle" align="center" | | + | | valign="middle" align="center" | <br> |
− | + | ||
|- | |- | ||
− | | Choose the Displayed | + | | Rename Column Header<br> |
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | |- | ||
+ | | Rename Row Header<br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | |- | ||
+ | | Choose the Displayed Columns<br> | ||
+ | | valign="middle" align="center" rowspan="2" colspan="3" | Yes | ||
+ | | valign="middle" align="center" | <br> | ||
+ | |- | ||
+ | | Choose the Displayed Columns for Stereotype Property in the popup menu<br> | ||
+ | | valign="middle" align="center" | <br> | ||
+ | |- | ||
+ | | Choose the Displayed Rows<br> | ||
| valign="middle" align="center" | No<br> | | valign="middle" align="center" | No<br> | ||
| valign="middle" align="center" | No<br> | | valign="middle" align="center" | No<br> | ||
− | | valign="middle" align="center" | No<br> | + | | valign="middle" align="center" | No<br> |
+ | | valign="middle" align="center" | <br> | ||
+ | |- | ||
+ | | Choose the Displayed Rows for Stereotype Property in the popup menu<br> | ||
+ | | valign="middle" align="center" colspan="3" | No | ||
+ | | valign="middle" align="center" | <br> | ||
|- | |- | ||
| Paste Column From Spreadsheet<br> | | Paste Column From Spreadsheet<br> | ||
| valign="middle" align="center" | No<br> | | valign="middle" align="center" | No<br> | ||
| valign="middle" align="center" | No<br> | | valign="middle" align="center" | No<br> | ||
− | | valign="middle" align="center" | No<br> | + | | valign="middle" align="center" | No<br> |
+ | | valign="middle" align="center" | <br> | ||
|- | |- | ||
| Paste Row From Spreadsheet<br> | | Paste Row From Spreadsheet<br> | ||
− | | valign="middle" align="center" | + | | valign="middle" align="center" colspan="4" rowspan="8" | Yes |
|- | |- | ||
| Display Index Column/Row Header<br> | | Display Index Column/Row Header<br> | ||
Line 188: | Line 239: | ||
|- | |- | ||
| Sort Row 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> | ||
| valign="middle" align="center" | <br> | | valign="middle" align="center" | <br> | ||
Line 193: | Line 245: | ||
|- | |- | ||
| Save and restore Table Axis Configuration<br> | | Save and restore Table Axis Configuration<br> | ||
− | | valign="middle" align="center" | + | | valign="middle" align="center" colspan="4" rowspan="2" | Yes |
|- | |- | ||
| Select All <br> | | Select All <br> | ||
+ | |- | ||
+ | | AutoResize axis<br> | ||
+ | | valign="middle" align="center" colspan="4" | Yes<br> | ||
|- | |- | ||
| <br> | | <br> | ||
| valign="middle" align="center" | <br> | | valign="middle" align="center" | <br> | ||
− | |||
− | |||
− | |||
− | |||
| valign="middle" align="center" | <br> | | valign="middle" align="center" | <br> | ||
| valign="middle" align="center" | <br> | | valign="middle" align="center" | <br> |
Revision as of 11:06, 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
- 1 Existing Tables
- 2 Table Features
- 2.1
- 2.2 Edit Cell Values
- 2.3 Change Axis Order
- 2.4 Invert Axis
- 2.5 Add Axis (Column/Row) Element by Drag&Drop
- 2.6 Remove Column/Row
- 2.7 Destroy Column/Row Element
- 2.8 Rename Column/Row Header
- 2.9 Choose the Displayed Columns/Rows
- 2.10 Choose the Displayed Columns/Rows for Stereotype Property in the popup menu
- 2.11 Features/Tables, when the Axis are NOT inverted.
- 2.12 Table Property View
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
- Choose the Displayed Columns/Rows for Stereotype Property in the popup menu
- 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
- AutoResize axis
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.
Add Axis (Column/Row) Element by Drag&Drop
Select your element and drop it into the table, in the column region or in the row region to add it.
Remove Column/Row
Select the header of the axis to remove then right click and select Remove Column/Row. The axis will be remove of the table, but the represented element will continue to be in the model.
Destroy Column/Row Element
Select the header of the axis element to destroy then right click and select Destroy Column/Row Element. The represented element will be destroyed and its axis will be removed from the table.
Rename Column/Row Header
This function can do 2 things according to the usecase :
- Rename the element represented by the axis, when the element is owned by your model
- Define an alias to the axis, when the element is not owned by your model (UML Feature for example)
Select the header of the axis element to rename then right click and select Rename Header.
Choose the Displayed Columns/Rows
Right click in the table (not in the header) and select Columns -> Create/Destroy Columns. (the same thing for rows
Right click in the table (not in the header) and select Select Stereotype Properties Columns (or Rows)
|
UML Generic Table |
SysML Allocation Table |
SysML Requirement Table |
Views Table |
Content synchronized on table context |
No |
Yes |
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 |
|
Rename Column Header |
|
|
|
|
Rename Row Header |
|
|
|
|
Choose the Displayed Columns |
Yes | | ||
Choose the Displayed Columns for Stereotype Property in the popup menu |
| |||
Choose the Displayed Rows |
No |
No |
No |
|
Choose the Displayed Rows for Stereotype Property in the popup menu |
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 | ||||
AutoResize axis |
Yes | |||
|
|
|
|
|
Table Property View
The Property View of the table is accessible selecting the table in the ModelExplorer.