KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > templates > ide > HelloWorldNewWizard


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.pde.internal.ui.templates.ide;
13
14 import org.eclipse.pde.internal.ui.templates.PDETemplateMessages;
15 import org.eclipse.pde.ui.IFieldData;
16 import org.eclipse.pde.ui.templates.ITemplateSection;
17 import org.eclipse.pde.ui.templates.NewPluginTemplateWizard;
18
19 public class HelloWorldNewWizard extends NewPluginTemplateWizard {
20     /**
21      * Constructor for HelloWorldNewWizard.
22      */

23     public HelloWorldNewWizard() {
24         super();
25     }
26
27     public void init(IFieldData data) {
28         super.init(data);
29         setWindowTitle(PDETemplateMessages.HelloWorldNewWizard_wtitle);
30     }
31     /*
32      * @see NewExtensionTemplateWizard#createTemplateSections()
33      */

34     public ITemplateSection[] createTemplateSections() {
35         return new ITemplateSection [] {
36                 new HelloWorldTemplate() };
37     }
38 }
39
Popular Tags