|
Re: How to display inherited operations to specialize their behavior? [message #915421 is a reply to message #913036] |
Mon, 17 September 2012 08:32 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hello Gabriela,
There's currently a lack of support for redefining/overridding (and copying) operations in Papyrus, which will need to be fixed. Until then, I can suggest a workaround:
- Create an operation in the Super class
- Add the parameters
- Use the ModelExplorer to make a copy-paste of the operation to your subclasses
- Drop the new operations to your diagram to make them visible
That's still not simple, but at least is it "less complicated" than re-creating the operations and parameters.
Papyrus also allows you to display an inherited operation via the "Filters" / "Show/hide contents" menu. However, it is only useful for displaying the operations. If you want to override them, you will need to make an actual copy.
Regards,
Camille
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.03268 seconds