Community
Participate
Working Groups
Currently, we can't create a stereotype in Package. We forbidden this action because the profile definition doesn't allow to take account the Stereotype which are not owned directly by a Package. Nevertheless we can drag an existing Stereotype in a Package. We allow this action, because it works in case of static profile.
The specification has changed in UML 2.4. It is now possible to have and define stereotypes owned in a Package. The Papyrus Profile Diagram doesn't correctly support this.
Fixed in b1d4c21, pushed to master
(In reply to Camille Letavernier from comment #2) > Fixed in b1d4c21, pushed to master Am I right that a the currently nightly build do _not_ yet allow to create profile diagrams below a package in a profile, although it is allowed to create them below a "profile package" and then move them under a package? So, on can now create stereotypes below a package, but not represent them :-)
(In reply to Klaas Gadeyne from comment #3) > (In reply to Camille Letavernier from comment #2) > > Fixed in b1d4c21, pushed to master > > Am I right that a the currently nightly build do _not_ yet allow to create > profile diagrams below a package in a profile, although it is allowed to > create them below a "profile package" and then move them under a package? > > So, on can now create stereotypes below a package, but not represent them :-) Additionally, when using the workaround of creating a diagram below the profile package and moving it afterwards below the package, elements which are created on the diagram are not moved below the package, but remain below the top level profile package.
(In reply to Klaas Gadeyne from comment #4) > (In reply to Klaas Gadeyne from comment #3) > > (In reply to Camille Letavernier from comment #2) > > > Fixed in b1d4c21, pushed to master > > > > Am I right that a the currently nightly build do _not_ yet allow to create > > profile diagrams below a package in a profile, although it is allowed to > > create them below a "profile package" and then move them under a package? > > > > So, on can now create stereotypes below a package, but not represent them :-) > > Additionally, when using the workaround of creating a diagram below the > profile package and moving it afterwards below the package, elements which > are created on the diagram are not moved below the package, but remain below > the top level profile package. And (as a consequence?) stereotypes below package cannot be selected when customizing the palette :-(
Shouldn't this one be reopened, and then fixed?
will check this
See bug 434928: [Profile] Papyrus shall support stereotypes defined in Packages https://bugs.eclipse.org/bugs/show_bug.cgi?id=434928 It will contain all tasks related to stereotypes in Package (since UML 2.4.1)