KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > importer > java > ui > JavaImporterWizard


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: JavaImporterWizard.java,v 1.3 2005/06/08 06:17:32 nickb Exp $
16  */

17 package org.eclipse.emf.importer.java.ui;
18
19 import org.eclipse.emf.importer.ModelImporter;
20 import org.eclipse.emf.importer.java.JavaImporter;
21 import org.eclipse.emf.importer.ui.contribution.base.ModelImporterWizard;
22
23
24 /**
25  * @since 2.1.0
26  */

27 public class JavaImporterWizard extends ModelImporterWizard
28 {
29   public JavaImporterWizard()
30   {
31     super();
32   }
33
34   protected ModelImporter createModelImporter()
35   {
36     return new JavaImporter();
37   }
38
39   public void addPages()
40   {
41     JavaPackagePage packagePage = new JavaPackagePage(getModelImporter(), "RosePackages");
42     addPage(packagePage);
43   }
44 }
45
Popular Tags