KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Raptor > listeners > selectClass_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.baseTools.*;
21 import Jmc.commonGui.*;
22
23 /**
24  * @author Dirk
25  *
26  * date: 14.02.2004
27  * project: WiSer-Builder
28  *
29  * <p>
30  * ...
31  * </p>
32  */

33 public class selectClass_li implements base_guiListener
34 {
35     public void pcmf_execListener(base_guiObj xParam) throws Exception JavaDoc
36     {
37     if (((base_guiObj)base_registredObject.pcmf_getObjByName("CBrowserIf")).pcmf_getValue().equals("plugins"))
38       ((openCBrowser2_li)base_registredObject.pcmf_getObjByName("OpenCBrowser2_listener")).pcmf_setSelection();
39     else
40       ((openCBrowser_li)base_registredObject.pcmf_getObjByName("OpenCBrowser_listener")).pcmf_setSelection();
41
42     ((base_dialog_if)base_registredObject.pcmf_getObjByName("CBrowser_dlg")).pcmf_hideDialog();
43     }
44 }
Popular Tags