Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since e9f307 was             066442, checked in by Frederik Heber <heber@…>, 11 years ago | 
        
          | 
Added TranslateMolecule action.
 added translate-molecule to userguide.
added translate-miolecule regression tests.
TranslateAtoms now has extra option position.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            937 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * TranslateAction.def | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Dec 14, 2014 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | // all includes and forward declarations necessary for non-integral types below | 
|---|
| 9 |  | 
|---|
| 10 | // i.e. there is an integer with variable name Z that can be found in | 
|---|
| 11 | // ValueStorage by the token "Z" -> first column: int, Z, "Z" | 
|---|
| 12 | // "unundef" if no parameters are required, use (NOPARAM_DEFAULT) for each (defined) default value | 
|---|
| 13 | #undef paramtypes | 
|---|
| 14 | #undef paramtokens | 
|---|
| 15 | #undef paramdescriptions | 
|---|
| 16 | #undef paramreferences | 
|---|
| 17 | #undef paramdefaults | 
|---|
| 18 | #undef paramvalids | 
|---|
| 19 |  | 
|---|
| 20 | #undef statetypes | 
|---|
| 21 | #undef statereferences | 
|---|
| 22 |  | 
|---|
| 23 | // some defines for all the names, you may use ACTION, STATE and PARAMS | 
|---|
| 24 | #define CATEGORY Molecule | 
|---|
| 25 | #define MENUNAME "molecule" | 
|---|
| 26 | #define MENUPOSITION 6 | 
|---|
| 27 | #define ACTIONNAME Translate | 
|---|
| 28 | #define TOKEN "translate-molecules" | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | // finally the information stored in the ActionTrait specialization | 
|---|
| 32 | #define DESCRIPTION "translate all selected molecules by given vector" | 
|---|
| 33 | #undef SHORTFORM | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.