KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > wizards > templates > MultiPageEditorNewWizard


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.wizards.templates;
13
14 import org.eclipse.pde.internal.ui.PDEUIMessages;
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 MultiPageEditorNewWizard extends NewPluginTemplateWizard {
20     /**
21      * Constructor for MultiPageEditorNewWizard.
22      */

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

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