KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Raptor > listeners > openNewFactConfDlg_li


1 /*******************************************************************************
2  * Copyright (c) 2004, Dirk von der Weiden.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution.
6  *
7  * Contributors:
8  * Dirk von der Weiden - initial API and implementation
9  *
10  * Created on 04.04.2004
11  *
12  * date: 04.04.2004
13  * project: WiSer Builder
14  *
15  *******************************************************************************/

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 /**
28  * @author Dirk
29  *
30  * date: 15.02.2004
31  * project: WiSer-Builder
32  *
33  * <p>
34  * ...
35  * </p>
36  */

37 public class openNewFactConfDlg_li implements base_guiListener
38 {
39     /**
40          * <p>
41          * Does...
42          * </p><p>
43          *
44          * @return a Type with
45          * </p><p>
46          * @param
47          * </p>
48          */

49     public void pcmf_execListener(base_guiObj xParam) throws Exception JavaDoc
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 JavaDoc 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