KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.bull.eclipse.jonas.actions;
2
3 /*
4  * (c) Copyright Bull SA 2003.
5  * All Rights Reserved.
6  */

7  
8
9 //import com.bull.eclipse.jonas.JonasLauncherPlugin;
10
import com.bull.eclipse.jonas.JonasProject;
11
12 public class RemoveJonasContextActionDelegate extends JonasProjectAbstractActionDelegate {
13     
14     public boolean doActionOn(JonasProject prj) throws Exception JavaDoc{
15         /*MANU
16         if(prj.getUpdateXml()) {
17             prj.removeContextInServerXML();
18         } else {
19             throw new JonasActionException(JonasLauncherPlugin.getResourceString("msg.action.updateServerXML.failed"));
20         }
21         MANU*/

22         return false;
23     }
24     
25 }
26
27
Popular Tags