Menu

Drag and drop to add Residents to a Component?

Anonymous
2016-05-12
2016-05-19
  • Anonymous

    Anonymous - 2016-05-12

    Hello Janusz the current procedure to add Residents to a Component is to right click - Collection Editor - Residents -click on the little component icon - browse thru the entire model editor - select the classifier to add. Then the windor closes and you have to browse thru the entire model from scratch again if you want to add another classifier. Would it be possible to simplify this, for example can select multiple classifiers to add in one go; or can drag/drop the classifiers from Model Editor into the Component; or some other way to add quickly without having to start from the top of the model every time? Thanks if you can help in some way!

     
  • Janusz Szpilewski

    After looking a bit at the Collection Editor it seems that there is already some code handling drag & drop. Just it does not do anything useful right now. I will need to look closer at it.

     

    Last edit: Janusz Szpilewski 2016-05-13
  • Janusz Szpilewski

    I have just posted release 5.7.4 that handles drag and drop for adding elements to
    Deployed Components, Deployed Artifacts, Residents and Raised Signals.

    I noticed that it is possible to add as residents relation models like inheritance etc. Looks strange to me. Maybe by working more with residents you know if those are valid elements?

     
  • Anonymous

    Anonymous - 2016-05-17

    To best of my knowledge in UML 2.5 (which WhiteStarUML supports maybe 80%... more than good enough for me), the concept of nested classifiers is introduced, and I think only Classes can be nested (Component is a specialization of Class).

     
  • Anonymous

    Anonymous - 2016-05-18

    Hey Janusz I had to use this new feature today and it worked great! Another small suggestion for improvement: if select collection view for one classifier and then click on another classifier, you have to re-right click - collection editor to see the collections of the new classifier; otherwise you are looking at the collections of the last classifier. In other words the collection editor window does not refresh to show the values for the classifier currently selected. If it refreshed automatically to show collections of whatever classifier is selected at that time, you don't have to re-right click every time. Cheers!

    p.s. also I don't know if it's asking too much, but it would be great if there was a way to export collections for each classifiers as an Excel report... for example all the associations of a all classes grouped by package class, or all actors associtated with a given Use Case. etc. etc... the Collection Editor has a lot of very useful info...

     
  • Janusz Szpilewski

    Moving the focus of the Collection Editor with selected element in the Model Explorer would kill the ability to fill the Collection Editor with drag & drop from the Model Explorer. But you do not have to click all the time. Just press Ctrl + F5 if you want to set the focus on the current model.

    The Collection Editor does not store any data by itself just operates on the data kept in the main model. There is already a way to generate documentation from that model using the documentation generator (Tools - Documentation Generator). It generates all main Office documents including Excel. Just take a look in the docs how to create a document template that will generate data you want.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.