|
Re: How to import Classes and ownedAttributes with Comments [message #1860411 is a reply to message #1860333] |
Thu, 03 August 2023 15:00 |
|
Hello,
I confirm that Class Tree table won't be able to manage Comment. You need to start from a Generic Tree Table defined on a Package.
You need to configure your Generic Tree Table like described here. from the table contextual menu, select "Configure Categories and Paste", to configure the categories like this:
- depth 0
- depth 1
- ownedComment
- ownedAttribute
- depth 2
Then on the next page of the wizard, you should to configure the Paste:
- packagedElement -> org.eclipse.papyrus.uml.Class - packagedElement
- ownedComment -> org.eclipse.papyrus.uml.Comment - ownedComment
- ownedAttribute -> org.eclipse.papyrus.uml.Property - ownedProperty (in the tree, select the ownedProperty under Class and not another one!)
- ownedComment -> org.eclipse.papyrus.uml.Comment - ownedComment
Then save.
On the table, display the column "name" and "body" and set the Hierarchic Style as Tree Multi Column Style.
Now you will be able to import a csv file with the Comments.
In attachment, several snapshot to help you.
HTH,
Vincent
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03986 seconds