KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > forms > WizardForm


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

11 package org.eclipse.ui.internal.forms;
12
13 import org.eclipse.jface.wizard.WizardPage;
14 import org.eclipse.swt.widgets.Composite;
15 import org.eclipse.ui.forms.ManagedForm;
16 import org.eclipse.ui.forms.widgets.*;
17
18 /**
19  *@since 3.0
20  */

21 public class WizardForm extends ManagedForm {
22     /**
23      * @param parent
24      */

25     public WizardForm(WizardPage page, Composite parent) {
26         super(parent);
27         setContainer(page);
28     }
29     /**
30      * @param toolkit
31      * @param form
32      */

33     public WizardForm(WizardPage page, FormToolkit toolkit, ScrolledForm form) {
34         super(toolkit, form);
35         setContainer(page);
36     }
37     public WizardPage getPage() {
38         return (WizardPage)getContainer();
39     }
40 }
Popular Tags