KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > $packageName$ > $applicationClass$


1 package $packageName$;
2
3 import org.eclipse.equinox.app.IApplication;
4 import org.eclipse.equinox.app.IApplicationContext;
5
6 /**
7  * This class controls all aspects of the application's execution
8  */

9 public class $applicationClass$ implements IApplication {
10
11     /* (non-Javadoc)
12      * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
13      */

14     public Object JavaDoc start(IApplicationContext context) throws Exception JavaDoc {
15         System.out.println("$message$");
16         return IApplication.EXIT_OK;
17     }
18
19     /* (non-Javadoc)
20      * @see org.eclipse.equinox.app.IApplication#stop()
21      */

22     public void stop() {
23         // nothing to do
24
}
25 }
26
Popular Tags