Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Issue with nested classifiers
Issue with nested classifiers [message #558279] Fri, 10 September 2010 19:10 Go to next message
Yannick Duchene (Hibou57) is currently offline Yannick Duchene (Hibou57)Friend
Messages: 50
Registered: September 2010
Location: Metz (France - Europe)
Member
Hi all,

I get into unexpected behavior when using nested classifiers.

* Create a classes diagram
* Add a package to the latter class diagram
* Add a class in the latter package
* Select the latter class in the model explorer.
* Create a child class (i.e. an UML nested classifier)
* Try to drag and drop the created nested class to the package

It will fail. It don't want to drop it in the package. When you are over the package, it does not draw the "not allowed here" cursor nor the "you can drop it here" cursor; instead, it displays the "normal" cursor and just do nothing at all if you drop it over the package.

Work around : create a class in the package using the palette. Note: do not create a nested class for now! Then, in the model explorer, drag the newly created class in the target container class (the one where you would like a nested class).

This work only using this work around. The class must not be initially created as a nested classifier.
Re: Issue with nested classifiers [message #558283 is a reply to message #558279] Fri, 10 September 2010 19:32 Go to previous message
Yannick Duchene (Hibou57) is currently offline Yannick Duchene (Hibou57)Friend
Messages: 50
Registered: September 2010
Location: Metz (France - Europe)
Member
Additionally, even if the above workaround is used to create a nested class B in an owner class A, there is no way to draw a containment relation from B to A. So there is no way for the diagram to express B is a nested class of A.

Any attempt to do so, expose the same trouble as above : the mouse cursor does not say OK nor not-OK, and when the mouse button is released, nothing is done at all.
Previous Topic:Layout bugs
Next Topic:Issue with nested classifiers
Goto Forum:
  


Current Time: Thu Mar 28 08:16:28 GMT 2024

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

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

Back to the top