01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.ui;
11:
12: /**
13: * The class that implements this interface is used to provide information
14: * captured in the 'New Plug-in Project' wizard pages as entered by the user.
15: * The information is the provided to other consumers when generating content so
16: * that the content can be configured/customized according to the data.
17: *
18: * @since 2.0
19: */
20: public interface IFieldData {
21: /**
22: * Plug-in identifier field.
23: *
24: * @return plug-in identifier as entered in the wizard
25: */
26: String getId();
27:
28: /**
29: * Plug-in version field.
30: *
31: * @return plug-in version as entered in the wizard
32: */
33: String getVersion();
34:
35: /**
36: * Plug-in name field
37: *
38: * @return plug-in name as entered in the wizard
39: */
40: String getName();
41:
42: /**
43: * Plug-in provider field
44: *
45: * @return plug-in provider as entered in the wizard
46: */
47: String getProvider();
48:
49: /**
50: * Plug-in library field
51: *
52: * @return the name of the initial Java library
53: */
54: String getLibraryName();
55:
56: /**
57: * Source folder field
58: *
59: * @return the name of the Java source folder
60: */
61: String getSourceFolderName();
62:
63: /**
64: * Output folder field
65: *
66: * @return the name of the Java output folder
67: */
68: String getOutputFolderName();
69:
70: /**
71: * Legacy selection
72: *
73: * @return <code>true</code> if the plug-in is created for use with
74: * products based on Eclipse before release 3.0, <code>false</code>
75: * if the plug-in is compatible with Eclipse 3.0.
76: */
77: boolean isLegacy();
78:
79: /**
80: * OSGi bundle selection
81: *
82: * @return <code>true</code> if the plug-in has structure as expected by
83: * OSGi framework in Eclipse 3.0 runtime, <code>false</code> if
84: * the plug-in has standard pre-3.0 layout.
85: */
86: boolean hasBundleStructure();
87:
88: /**
89: * Simple project selection
90: *
91: * @return <code>true</code> if the plug-in should have no Java code and
92: * nature, <code>false</code> otherwise.
93: */
94: boolean isSimple();
95: }
|