Changeset 51769f for src/Actions/MapOfActions.cpp
- Timestamp:
- Aug 12, 2010, 3:08:47 PM (15 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- a7a087
- Parents:
- 60896f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MapOfActions.cpp
r60896f r51769f 76 76 #include "Actions/SelectionAction/AllAtomsOfMoleculeAction.hpp" 77 77 #include "Actions/SelectionAction/AllMoleculesAction.hpp" 78 #include "Actions/SelectionAction/AtomByElementAction.hpp" 78 79 #include "Actions/SelectionAction/AtomByIdAction.hpp" 79 80 #include "Actions/SelectionAction/ClearAllAtomsAction.hpp" 80 81 #include "Actions/SelectionAction/ClearAllMoleculesAction.hpp" 82 #include "Actions/SelectionAction/MoleculeByFormulaAction.hpp" 81 83 #include "Actions/SelectionAction/MoleculeByIdAction.hpp" 82 84 #include "Actions/SelectionAction/MoleculeOfAtomAction.hpp" … … 86 88 #include "Actions/SelectionAction/NotAllAtomsOfMoleculeAction.hpp" 87 89 #include "Actions/SelectionAction/NotAllMoleculesAction.hpp" 90 #include "Actions/SelectionAction/NotAtomByElementAction.hpp" 88 91 #include "Actions/SelectionAction/NotAtomByIdAction.hpp" 92 #include "Actions/SelectionAction/NotMoleculeByFormulaAction.hpp" 89 93 #include "Actions/SelectionAction/NotMoleculeByIdAction.hpp" 90 94 #include "Actions/SelectionAction/NotMoleculeOfAtomAction.hpp" … … 231 235 DescriptionMap["select-all-atoms"] = "select all atoms"; 232 236 DescriptionMap["select-all-molecules"] = "select all molecules"; 237 DescriptionMap["select-atom-by-element"] = "select an atom by element"; 233 238 DescriptionMap["select-atom-by-id"] = "select an atom by index"; 234 239 DescriptionMap["select-atoms-inside-cuboid"] = "select all atoms inside a cuboid"; 235 240 DescriptionMap["select-atoms-inside-sphere"] = "select all atoms inside a sphere"; 236 241 DescriptionMap["select-molecule-by-id"] = "select a molecule by index"; 242 DescriptionMap["select-molecule-by-formula"] = "select a molecule by chemical formula"; 237 243 DescriptionMap["select-molecule-of-atom"] = "select a molecule to which a given atom belongs"; 238 244 DescriptionMap["select-molecules-atoms"] = "select all atoms of a molecule"; … … 246 252 DescriptionMap["unselect-all-atoms"] = "unselect all atoms"; 247 253 DescriptionMap["unselect-all-molecules"] = "unselect all molecules"; 254 DescriptionMap["unselect-atom-by-element"] = "unselect an atom by element"; 248 255 DescriptionMap["unselect-atom-by-id"] = "unselect an atom by index"; 249 256 DescriptionMap["unselect-atoms-inside-cuboid"] = "unselect all atoms inside a cuboid"; 250 257 DescriptionMap["unselect-atoms-inside-sphere"] = "unselect all atoms inside a sphere"; 258 DescriptionMap["unselect-molecule-by-formula"] = "unselect a molecule by chemical formula"; 251 259 DescriptionMap["unselect-molecule-by-id"] = "unselect a molecule by index"; 252 260 DescriptionMap["unselect-molecule-of-atom"] = "unselect a molecule to which a given atom belongs"; … … 361 369 TypeMap["select-all-atoms"] = &typeid(void); 362 370 TypeMap["select-all-molecules"] = &typeid(void); 371 TypeMap["select-atom-by-element"] = &typeid(const element); 363 372 TypeMap["select-atom-by-id"] = &typeid(atom); 364 373 TypeMap["select-atoms-inside-cuboid"] = &typeid(VectorValue); 365 374 TypeMap["select-atoms-inside-sphere"] = &typeid(double); 375 TypeMap["select-molecule-by-formula"] = &typeid(std::string); 366 376 TypeMap["select-molecule-by-id"] = &typeid(molecule); 367 377 TypeMap["select-molecule-of-atom"] = &typeid(atom); … … 376 386 TypeMap["unselect-all-atoms"] = &typeid(void); 377 387 TypeMap["unselect-all-molecules"] = &typeid(void); 388 TypeMap["unselect-atom-by-element"] = &typeid(const element); 378 389 TypeMap["unselect-atom-by-id"] = &typeid(atom); 379 390 TypeMap["unselect-atoms-inside-cuboid"] = &typeid(VectorValue); 380 391 TypeMap["unselect-atoms-inside-sphere"] = &typeid(double); 392 TypeMap["unselect-molecule-by-formula"] = &typeid(std::string); 381 393 TypeMap["unselect-molecule-by-id"] = &typeid(molecule); 382 394 TypeMap["unselect-molecule-of-atom"] = &typeid(atom); … … 487 499 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-all-atoms") ); 488 500 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-all-molecules") ); 501 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atom-by-element") ); 489 502 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atom-by-id") ); 490 503 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atoms-inside-cuboid") ); 491 504 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atoms-inside-sphere") ); 492 505 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-by-id") ); 506 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-by-formula") ); 493 507 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-of-atom") ); 494 508 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecules-atoms") ); 495 509 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-atoms") ); 496 510 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-molecules") ); 511 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atom-by-element") ); 497 512 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atom-by-id") ); 498 513 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atoms-inside-cuboid") ); 499 514 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atoms-inside-sphere") ); 515 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-molecule-by-formula") ); 500 516 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-molecule-by-id") ); 501 517 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-molecule-of-atom") ); … … 560 576 generic.insert("select-all-atoms"); 561 577 generic.insert("select-all-molecules"); 578 generic.insert("select-atom-by-element"); 562 579 generic.insert("select-atom-by-id"); 563 580 generic.insert("select-atoms-inside-cuboid"); 564 581 generic.insert("select-atoms-inside-sphere"); 565 582 generic.insert("select-molecule-by-id"); 583 generic.insert("select-molecule-by-formula"); 566 584 generic.insert("select-molecule-of-atom"); 567 585 generic.insert("select-molecules-atoms"); … … 575 593 generic.insert("unselect-all-atoms"); 576 594 generic.insert("unselect-all-molecules"); 595 generic.insert("unselect-atom-by-element"); 577 596 generic.insert("unselect-atom-by-id"); 578 597 generic.insert("unselect-atoms-inside-cuboid"); 579 598 generic.insert("unselect-atoms-inside-sphere"); 599 generic.insert("unselect-molecule-by-formula"); 580 600 generic.insert("unselect-molecule-by-id"); 581 601 generic.insert("unselect-molecule-of-atom"); … … 910 930 new SelectionAllAtomsOfMoleculeAction(); 911 931 new SelectionAllMoleculesAction(); 932 new SelectionAtomByElementAction(); 912 933 new SelectionAtomByIdAction(); 913 934 new SelectionMoleculeByIdAction(); 935 new SelectionMoleculeByFormulaAction(); 914 936 new SelectionMoleculeOfAtomAction(); 915 937 new SelectionNotAllAtomsAction(); … … 918 940 new SelectionNotAllAtomsOfMoleculeAction(); 919 941 new SelectionNotAllMoleculesAction(); 942 new SelectionNotAtomByElementAction(); 920 943 new SelectionNotAtomByIdAction(); 944 new SelectionNotMoleculeByFormulaAction(); 921 945 new SelectionNotMoleculeByIdAction(); 922 946 new SelectionNotMoleculeOfAtomAction();
Note:
See TracChangeset
for help on using the changeset viewer.