updateCurAction            package:iSPlot            R Documentation

_U_p_d_a_t_e _c_u_r_A_c_t_i_o_n _e_n_v_i_r_o_n_m_e_n_t _v_a_r_i_a_b_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     updateCurAction updates the current action environment  variable
     in controlEnv and calls updateControlWindow to reflect the  change
     in current action on the control window.

_U_s_a_g_e:

     updateCurAction(curAct, ...)

_A_r_g_u_m_e_n_t_s:

  curAct: character string that describes which menu item was chosen

     ...: extra parameters that are passed to updateControlWindow

_D_e_t_a_i_l_s:

     Currently, curAct can be one of the following strings: openf,
     opend,  quit, find, reset, plotD, viewData, color, highlight,
     identify, hide,  replot, or empty.  If curAct is not one of those
     strings, then curAct is presumed to be the name of a function. 
     When curAct is the name of a  function, the ... parameter(s) is
     passed to that function using do.call so the ... parameter is
     available in case the function has parameters.

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'updateControlWindow', 'createMenuItem'

_E_x_a_m_p_l_e_s:

       if (interactive())
       {
         createControlWindow()
         updateCurAction("opend")
       }

