KickJava   Java API By Example, From Geeks To Geeks.

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


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 ViewNewWizard extends NewPluginTemplateWizard {
20     /**
21      * Constructor for ViewNewWizard.
22      */

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

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