KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > bull > eclipse > jonas > actions > CreateJonasBaseActionDelegate


1 /*
2  * Created on 2 juin 2003
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package com.bull.eclipse.jonas.actions;
8
9 /**
10  * @author Emmanuel RIAS
11  *
12  * To change the template for this generated type comment go to
13  * Window>Preferences>Java>Code Generation>Code and Comments
14  */

15
16 import org.eclipse.jface.action.IAction;
17 import org.eclipse.jface.viewers.ISelection;
18 import org.eclipse.ui.IWorkbenchWindow;
19 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
20
21 import com.bull.eclipse.jonas.JonasLauncherPlugin;
22
23 public class CreateJonasBaseActionDelegate implements IWorkbenchWindowActionDelegate {
24     
25     private IWorkbenchWindow window;
26
27     /*
28      * @see IWorkbenchWindowActionDelegate#dispose()
29      */

30     public void dispose() {
31     }
32
33     /*
34      * @see IWorkbenchWindowActionDelegate#init(IWorkbenchWindow)
35      */

36     public void init(IWorkbenchWindow window) {
37         this.window = window;
38     }
39
40     /*
41      * @see IActionDelegate#run(IAction)
42      */

43     public void run(IAction action) {
44         try {
45             JonasBaseCreation.createJonasBase();
46         } catch (Exception JavaDoc ex) {
47             JonasLauncherPlugin.log(ex);
48         }
49     }
50
51     /*
52      * @see IActionDelegate#selectionChanged(IAction, ISelection)
53      */

54     public void selectionChanged(IAction action, ISelection selection) {
55
56     }
57
58         
59 }
60
Popular Tags