- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AtomAction/ChangeElementAction.def
r1fd675 re4afb4 12 12 // i.e. there is an integer with variable name Z that can be found in 13 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 // "undefine" if no parameters are required 14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 15 15 #define paramtypes (const element *) 16 #define paramtokens (ACTION::NAME) 16 #define paramtokens ("change-element") 17 #define paramdescriptions ("new the element of atom") 18 #undef paramdefaults 17 19 #define paramreferences (elemental) 18 20 … … 22 24 // some defines for all the names, you may use ACTION, STATE and PARAMS 23 25 #define CATEGORY Atom 26 #define MENUNAME "atom" 27 #define MENUPOSITION 2 24 28 #define ACTIONNAME ChangeElement 25 29 #define TOKEN "change-element" 30 31 // finally the information stored in the ActionTrait specialization 32 #define DESCRIPTION "change the element of an atom" 33 #define SHORTFORM "E"
Note:
See TracChangeset
for help on using the changeset viewer.