Community
Participate
Working Groups
Created attachment 236895 [details] context-menu for Operation When using "Open a CDT Editor" on an operation the generator treats the uml:Operation as though it were a uml:Class. For example, if the model has a class called Class2 with an operation called virtualOp, then using this menu item opens an editor tab called "CDT virtualOp" that contains: // -------------------------------------------------------- // Code generated by Papyrus C++ // -------------------------------------------------------- #define Model_Class2_virtualOp_BODY /************************************************************ virtualOp class body ************************************************************/ // include associated header file #include </virtualOp.h> // Derived includes directives namespace Class2 { // static attributes (if any) }// of namespace Class2 /************************************************************ End of virtualOp class body ************************************************************/ The class is generated as though it were a package, and the opaque behaviour is generated as though it were a class. The menu item is not visible in the context menu for the operation (see attached screenshot), but is visible in the context menu for the opaque behaviour (I'll attach a screenshot next).
Created attachment 236896 [details] context-menu for Opaque Behaviour