KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > importer > ui > contribution > ModelImporterDescriptor


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  * ModelImporterDescriptor.java,v 1.1 2005/05/12 17:10:24 marcelop Exp
16  */

17 package org.eclipse.emf.importer.ui.contribution;
18
19 import java.util.List JavaDoc;
20
21 import org.eclipse.swt.graphics.Image;
22
23
24 /**
25  * It is highly recommended not to implement this interface. If you need to create
26  * instances of a <tt>ModelImporterDescriptor</tt>, use
27  * {@link org.eclipse.emf.importer.ui.contribution.ModelImporterUtil#ModelImporterDescriptorImpl}.
28  *
29  * @since 2.1.0
30  */

31 public interface ModelImporterDescriptor
32 {
33   int TYPE_PROJECT = 1;
34   int TYPE_FILE = 2;
35   int TYPE_DEFAULT = TYPE_PROJECT | TYPE_FILE;
36
37   String JavaDoc getId();
38
39   String JavaDoc getName();
40
41   List JavaDoc getExtensions();
42
43   int getTypes();
44
45   Image getIcon();
46   
47   String JavaDoc getDescription();
48
49   IModelImporterWizard createWizard();
50 }
51
Popular Tags