Ignore:
Timestamp:
Jul 29, 2010, 11:46:26 AM (14 years ago)
Author:
Tillmann Crueger <crueger@…>
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:
112f90
Parents:
f7ee68
Message:

made all actions pass on the dialogs and add the corresponding queries

Location:
src/Actions/CmdAction
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/CmdAction/BondLengthTableAction.cpp

    rf7ee68 r047878  
    3939};
    4040
    41 Dialog* CommandLineBondLengthTableAction::createDialog() {
    42   Dialog *dialog = UIFactory::getInstance().makeDialog();
     41Dialog* CommandLineBondLengthTableAction::fillDialog(Dialog *dialog) {
     42  ASSERT(dialog,"No Dialog given when filling action dialog");
    4343
    4444  dialog->queryString(NAME, ValueStorage::getInstance().getDescription(NAME));
  • src/Actions/CmdAction/BondLengthTableAction.hpp

    rf7ee68 r047878  
    2424
    2525  virtual const std::string getName();
     26protected:
     27  virtual Dialog * fillDialog(Dialog *dialog);
    2628private:
    27   virtual Dialog * createDialog();
    2829  virtual Action::state_ptr performCall();
    2930  virtual Action::state_ptr performUndo(Action::state_ptr);
  • src/Actions/CmdAction/ElementDbAction.cpp

    rf7ee68 r047878  
    3939};
    4040
    41 Dialog* CommandLineElementDbAction::createDialog() {
    42   Dialog *dialog = UIFactory::getInstance().makeDialog();
     41Dialog* CommandLineElementDbAction::fillDialog(Dialog *dialog) {
     42  ASSERT(dialog,"No Dialog given when filling action dialog");
    4343
    4444  dialog->queryString(NAME, ValueStorage::getInstance().getDescription(NAME));
  • src/Actions/CmdAction/ElementDbAction.hpp

    rf7ee68 r047878  
    2424
    2525  virtual const std::string getName();
     26protected:
     27  virtual Dialog * fillDialog(Dialog *dialog);
    2628private:
    27   virtual Dialog * createDialog();
    2829  virtual Action::state_ptr performCall();
    2930  virtual Action::state_ptr performUndo(Action::state_ptr);
  • src/Actions/CmdAction/FastParsingAction.cpp

    rf7ee68 r047878  
    4949};
    5050
    51 Dialog* CommandLineFastParsingAction::createDialog() {
    52   Dialog *dialog = UIFactory::getInstance().makeDialog();
     51Dialog* CommandLineFastParsingAction::fillDialog(Dialog *dialog) {
     52  ASSERT(dialog,"No Dialog given when filling action dialog");
    5353
    5454  dialog->queryBoolean(NAME, MapOfActions::getInstance().getDescription(NAME));
  • src/Actions/CmdAction/FastParsingAction.hpp

    rf7ee68 r047878  
    2424
    2525  virtual const std::string getName();
     26protected:
     27  virtual Dialog * fillDialog(Dialog *dialog);
    2628private:
    27   virtual Dialog * createDialog();
    2829  virtual Action::state_ptr performCall();
    2930  virtual Action::state_ptr performUndo(Action::state_ptr);
  • src/Actions/CmdAction/HelpAction.cpp

    rf7ee68 r047878  
    3434};
    3535
    36 Dialog* CommandLineHelpAction::createDialog() {
    37   Dialog *dialog = UIFactory::getInstance().makeDialog();
     36Dialog* CommandLineHelpAction::fillDialog(Dialog *dialog) {
     37  ASSERT(dialog,"No Dialog given when filling action dialog");
    3838
    3939  ostringstream usage;
  • src/Actions/CmdAction/HelpAction.hpp

    rf7ee68 r047878  
    2424
    2525  virtual const std::string getName();
     26protected:
     27  virtual Dialog * fillDialog(Dialog *dialog);
    2628private:
    27   virtual Dialog * createDialog();
    2829  virtual Action::state_ptr performCall();
    2930  virtual Action::state_ptr performUndo(Action::state_ptr);
  • src/Actions/CmdAction/VerboseAction.cpp

    rf7ee68 r047878  
    4747};
    4848
    49 Dialog* CommandLineVerboseAction::createDialog() {
    50   Dialog *dialog = UIFactory::getInstance().makeDialog();
     49Dialog* CommandLineVerboseAction::fillDialog(Dialog *dialog) {
     50  ASSERT(dialog,"No Dialog given when filling action dialog");
    5151
    5252  dialog->queryInt(NAME, ValueStorage::getInstance().getDescription(NAME));
  • src/Actions/CmdAction/VerboseAction.hpp

    rf7ee68 r047878  
    2424
    2525  virtual const std::string getName();
     26protected:
     27  virtual Dialog * fillDialog(Dialog *dialog);
    2628private:
    27   virtual Dialog * createDialog();
    2829  virtual Action::state_ptr performCall();
    2930  virtual Action::state_ptr performUndo(Action::state_ptr);
  • src/Actions/CmdAction/VersionAction.cpp

    rf7ee68 r047878  
    3333};
    3434
    35 Dialog* CommandLineVersionAction::createDialog() {
    36   Dialog *dialog = UIFactory::getInstance().makeDialog();
     35Dialog* CommandLineVersionAction::fillDialog(Dialog *dialog) {
     36  ASSERT(dialog,"No Dialog given when filling action dialog");
    3737
    3838  dialog->queryEmpty(NAME, ESPACKVersion);
  • src/Actions/CmdAction/VersionAction.hpp

    rf7ee68 r047878  
    2525
    2626  virtual const std::string getName();
     27protected:
     28  virtual Dialog * fillDialog(Dialog *dialog);
    2729private:
    28   virtual Dialog * createDialog();
    2930  virtual Action::state_ptr performCall();
    3031  virtual Action::state_ptr performUndo(Action::state_ptr);
Note: See TracChangeset for help on using the changeset viewer.