Separate the two different program views into theit counterparts ProgramInfoView and ProgramEditView. Now the behavior of single and double click can be differentiated