Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Issue with nested classifiers
Issue with nested classifiers [message #607433] 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 #607435 is a reply to message #607433] 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:Issue with nested classifiers
Next Topic:Installation help
Goto Forum:
  


Current Time: Mon Dec 22 07:59:00 GMT 2014

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

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