1 16 17 package Raptor.listeners; 18 19 import Jmc.baseGui.*; 20 import Jmc.commonGui.*; 21 import Jmc.baseTools.*; 22 23 import Raptor.model.*; 24 25 import java.util.*; 26 27 37 public class openNewFactConfDlg_li implements base_guiListener 38 { 39 49 public void pcmf_execListener(base_guiObj xParam) throws Exception 50 { 51 base_dialog_if l_br = (base_dialog_if)base_registredObject.pcmf_getObjByName("NewFactConfig_dlg"); 52 53 base_appl_if l_appl = xParam.pcmf_getAppl(); 54 raptor_mainModel l_model = (raptor_mainModel)l_appl.pcmf_getGuiObj().pcmf_getModel(); 55 56 Iterator l_it = l_model.getPem_settings().getPem_tplKits().iterator(); 57 Object l_val= null; 58 ((base_comboBox_if)base_registredObject.pcmf_getObjByName("NewFactCopyCombo")).pcmf_clearComboBox(); 59 while (l_it.hasNext()) 60 { 61 l_val = l_it.next(); 62 ((base_comboBox_if)base_registredObject.pcmf_getObjByName("NewFactCopyCombo")).pcmf_addValue(l_val.toString(),l_val.toString()); 63 } 64 65 l_br.pcmf_displayDialog(); 66 } 67 } | Popular Tags |