KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Raptor > listeners > restoreDefDesk_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, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * Dirk von der Weiden - initial API and implementation
10  *
11  * Created on 20.07.2005
12  *
13  * date: 20.07.2005
14  * project:
15  *
16  * *******************************************************************************/

17
18 package Raptor.listeners;
19
20 import Jmc.baseGui.*;
21 import Jmc.commonGui.*;
22 import Raptor.model.*;
23
24 public class restoreDefDesk_li implements base_guiListener
25 {
26
27     public void pcmf_execListener(base_guiObj xParam) throws Exception JavaDoc
28     {
29     base_appl_if l_appl = xParam.pcmf_getAppl();
30     raptor_mainModel l_model= (raptor_mainModel)l_appl.pcmf_getGuiObj().pcmf_getModel();
31     
32     l_model.pcmf_loadDesktopDefaultSettings();
33     l_model.pcmf_restoreDesktop();
34     
35     l_appl.pcmf_getGuiObj().pcmf_repaint();
36     }
37
38 }
39
Popular Tags