Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » simple import classes only with class names
simple import classes only with class names [message #1848487] Sat, 04 December 2021 16:29 Go to next message
Ilja Kraval is currently offline Ilja KravalFriend
Messages: 38
Registered: October 2021
Member
Hi all,

I have this simple task:

In the text file, I have class names in the column (export from another system). I need to import these classes into Papyrus - only with the names and nothing more, without diagrams, without properties and without links (eg into the package called "Imported_from_X_System")

I just need their existence in the model, nothing more.

What is the simplest effective procedure?

Thanks for the reply.

Ilya.
Re: simple import classes only with class names [message #1848495 is a reply to message #1848487] Sun, 05 December 2021 09:33 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,
haven't used that feature for some years by now, ...
Nevertheless you can try to reformat your text file to be a valid CSV table (https://en.wikipedia.org/wiki/Comma-separated_values) and perform a CSV table import.
CSV table import is available by open the table creation wizard via main menu
Papyrus -> New Table -> Class Tree Table
and then import you table via
context menu of the wizard -> Import from file
/Carsten
Re: simple import classes only with class names [message #1848599 is a reply to message #1848495] Thu, 09 December 2021 09:21 Go to previous messageGo to next message
Ilja Kraval is currently offline Ilja KravalFriend
Messages: 38
Registered: October 2021
Member
Hi Carsten,

thanks for reply!

Ilja
Re: simple import classes only with class names [message #1848601 is a reply to message #1848599] Thu, 09 December 2021 12:53 Go to previous message
Vincent Lorenzo is currently offline Vincent LorenzoFriend
Messages: 248
Registered: June 2010
Location: Paris Saclay, France
Senior Member
Hi Ilja,
to my mind, the solution describes by Carsten is the best one!

/Vincent
Previous Topic:Avoid message positioning in sequence diagrams?
Next Topic:Generate output from diagram content
Goto Forum:
  


Current Time: Thu Apr 25 02:32:07 GMT 2024

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

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

Back to the top