13.07.2015 Views

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

file:///C:/uml/BOUML/bouml_3.0/doc/TOUT.html114 of 378 07/10/2007 15:55Operation dialog, tab IdlThis tab allows to give the Idl declaration of the operation, it is visible only if Idl is set through the Language menuIn BOUML the generated code is obtained by the substitution of macros in a text, only the Definition part is editable, the other one helpyou to see what will be generated for Java (supposing you do not modify the Java code generator !).When you push the button Default definition, the form specified through the generation settings is proposed adding all the operationparameters given in the UML tab. These forms may be modified as you want, even to produce illegal source code !When you do not want to have this operation defined in Java+, empties the definition <strong>manual</strong>ly or using the button not generated in Idl.${oneway} produce an empty string when the check box oneway is not checked, else produce oneway${type} is replaced by the value type (see the UML tab)${name} is replaced by the name of the operation.${(} and ${)} produce ( and ), but there are also a mark for BOUML to find the parameters list${t} and ${p}produce the type and the name of each parameter (count from 0), this allows you to remove a parameter, add type modifiers etc ...${raise} is replaced by the form raise (...) when at least an exception is defined in the UML tab.${raisenl} produce a line break when the operation have exception, else an empty string. In case you do not like this notation, change thegeneration settings to remove this macro.The forms @{property}are replaced by the value of the corresponding user property if it is defined for the class or at an upper level, else it is not substituted.Menu : duplicateThe menu entry duplicate clone the operation.Menu : deleteThe menu entry delete is only present when the operation is not read-only.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!