Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/AtomAction/ChangeElementAction.def

    r1fd675 re4afb4  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// 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
    1515#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
    1719#define paramreferences (elemental)
    1820
     
    2224// some defines for all the names, you may use ACTION, STATE and PARAMS
    2325#define CATEGORY Atom
     26#define MENUNAME "atom"
     27#define MENUPOSITION 2
    2428#define ACTIONNAME ChangeElement
    2529#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.