Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Class Tree Table and Label
Class Tree Table and Label [message #1849088] Mon, 03 January 2022 12:39 Go to next message
Ilja Kraval is currently offline Ilja KravalFriend
Messages: 38
Registered: October 2021
Member
Hi all,

I successfully imported Classes and ownedAttributes using a Class Tree Table and a CSV file (Names).

I don't know how to import a Label field, ie how to add a column for a Label?

Any advice please?

/Ilja

[Updated on: Mon, 03 January 2022 13:53]

Report message to a moderator

Re: Class Tree Table and Label [message #1849105 is a reply to message #1849088] Tue, 04 January 2022 09:53 Go to previous messageGo to next message
Vincent Lorenzo is currently offline Vincent LorenzoFriend
Messages: 249
Registered: June 2010
Location: Paris Saclay, France
Senior Member
Hello Ilja,
if your label field is represented in your model by a stereotype property, you must add the column corresponding to this property to your table before importing your data and it should work (the stereotype will be automatticaly applied).

Regards,
Vincent
Re: Class Tree Table and Label [message #1849113 is a reply to message #1849088] Tue, 04 January 2022 14:01 Go to previous messageGo to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 479
Registered: May 2015
Location: Germany
Senior Member
Hi Ilja,
which label do you mean?
The one shown as field in the property view is simply provided by a Java properties-file residing beneath the uml-, di- and notation-file in the file system. The filename is appended by your systems' ISO language code (in my case "_de_DE") and the suffix is properties.
/Carsten
Re: Class Tree Table and Label [message #1849137 is a reply to message #1849113] Wed, 05 January 2022 09:27 Go to previous messageGo to next message
Ilja Kraval is currently offline Ilja KravalFriend
Messages: 38
Registered: October 2021
Member
Thanks for the answers,

to Carsten:
Yes, that's right,
I found it two days ago in that .notation file
and it has a simple syntax.
A utility will be written which will generate this file .notation using Excel (for editing the Label in the given column) with copy to a text file.

/Ilja

Re: Class Tree Table and Label [message #1849166 is a reply to message #1849137] Wed, 05 January 2022 22:17 Go to previous message
Ilja Kraval is currently offline Ilja KravalFriend
Messages: 38
Registered: October 2021
Member
...sorry,
correction of the previous one:

I meant the .properties file, not the .notation file :)

/Ilja
Previous Topic:Why can a stereotype extend a stereotype in profile in papyrus
Next Topic:Cannot install Papyrus SW Designer 2.0 in Eclipse 2021-12 / Papyrus 6.0
Goto Forum:
  


Current Time: Fri Apr 26 14:30:22 GMT 2024

Powered by FUDForum. Page generated in 0.02798 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top