- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/MoleculeOfAtomAction.def
r1fd675 re4afb4 10 10 // i.e. there is an integer with variable name Z that can be found in 11 11 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 12 // "undefine" if no parameters are required 13 #define paramtypes (atom*) 14 #define paramtokens (SelectionMoleculeOfAtomAction::NAME) 12 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 13 #define paramtypes (const atom*) 14 #define paramtokens ("select-molecule-of-atom") 15 #define paramdescriptions ("one atom of desired molecule") 16 #undef paramdefaults 15 17 #define paramreferences (Walker) 16 18 … … 20 22 // some defines for all the names, you may use ACTION, STATE and PARAMS 21 23 #define CATEGORY Selection 24 #define MENUNAME "selection" 25 #define MENUPOSITION 11 22 26 #define ACTIONNAME MoleculeOfAtom 23 27 #define TOKEN "select-molecule-of-atom" 24 28 29 30 // finally the information stored in the ActionTrait specialization 31 #define DESCRIPTION "select a molecule to which a given atom belongs" 32 #undef SHORTFORM
Note:
See TracChangeset
for help on using the changeset viewer.