|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
Registered: February 2011
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.
Powered by FUDForum
. Page generated in 0.01903 seconds