/* * SaveSelectedAtomsAsExtTypesAction.def * * Created on: Apr 4, 2012 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include // i.e. there is an integer with variable name Z that can be found in // ValueStorage by the token "Z" -> first column: int, Z, "Z" // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value #define paramtypes (int)(boost::filesystem::path) #define paramtokens ("save-selected-atoms-as-exttypes")("filename") #define paramdescriptions ("Type id for this selection of atoms")("path to tremolo's exttypes file") #undef paramdefaults #define paramreferences (id)(filename) #undef statetypes #undef statereferences // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Parser #define MENUNAME "parser" #define MENUPOSITION 12 #define ACTIONNAME SaveSelectedAtomsAsExtTypes #define TOKEN "save-selected-atoms-as-exttypes" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "saves the atomic Ids of all currently selected atoms in a exttypes file with the given id" #undef SHORTFORM