KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > ICoreConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 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 package org.eclipse.pde.internal.core;
12
13 import org.eclipse.core.runtime.IPath;
14 import org.eclipse.core.runtime.Path;
15 import org.osgi.framework.Constants;
16
17 public interface ICoreConstants {
18     // TODO move to API - IModelProviderEvent
19
int ENVIRONMENT_CHANGED = 0x10;
20     
21     // Target Platform
22
String JavaDoc PLATFORM_PATH = "platform_path"; //$NON-NLS-1$
23
String JavaDoc SAVED_PLATFORM = "saved_platform"; //$NON-NLS-1$
24
String JavaDoc TARGET_MODE = "target_mode"; //$NON-NLS-1$
25
String JavaDoc VALUE_USE_THIS = "useThis"; //$NON-NLS-1$
26
String JavaDoc VALUE_USE_OTHER = "useOther"; //$NON-NLS-1$
27
String JavaDoc CHECKED_PLUGINS = "checkedPlugins"; //$NON-NLS-1$
28
String JavaDoc VALUE_SAVED_NONE = "[savedNone]"; //$NON-NLS-1$
29
String JavaDoc VALUE_SAVED_ALL = "[savedAll]"; //$NON-NLS-1$
30
String JavaDoc VALUE_SAVED_SOME = "savedSome"; //$NON-NLS-1$
31
String JavaDoc P_SOURCE_LOCATIONS = "source_locations"; //$NON-NLS-1$
32
String JavaDoc P_EXT_LOCATIONS = "ext_locations"; //$NON-NLS-1$
33
String JavaDoc PROGRAM_ARGS = "program_args"; //$NON-NLS-1$
34
String JavaDoc VM_ARGS = "vm_args"; //$NON-NLS-1$
35
String JavaDoc VM_LAUNCHER_INI = "vm_launcher_ini"; //$NON-NLS-1$
36
String JavaDoc IMPLICIT_DEPENDENCIES = "implicit_dependencies"; //$NON-NLS-1$
37
String JavaDoc GROUP_PLUGINS_VIEW = "group_plugins"; //$NON-NLS-1$
38
String JavaDoc ADDITIONAL_LOCATIONS = "additional_locations"; //$NON-NLS-1$
39

40     // Target Environment
41
String JavaDoc OS = "org.eclipse.pde.ui.os"; //$NON-NLS-1$
42
String JavaDoc WS = "org.eclipse.pde.ui.ws"; //$NON-NLS-1$
43
String JavaDoc NL = "org.eclipse.pde.ui.nl"; //$NON-NLS-1$
44
String JavaDoc ARCH = "org.eclipse.pde.ui.arch"; //$NON-NLS-1$
45

46     String JavaDoc OS_EXTRA = "org.eclipse.pde.os.extra"; //$NON-NLS-1$
47
String JavaDoc WS_EXTRA = "org.eclipse.pde.ws.extra"; //$NON-NLS-1$
48
String JavaDoc NL_EXTRA = "org.eclipse.pde.nl.extra"; //$NON-NLS-1$
49
String JavaDoc ARCH_EXTRA = "org.eclipse.pde.arch.extra"; //$NON-NLS-1$
50

51     // Target JRE
52
String JavaDoc TARGET_JRE = "targetJRE"; //$NON-NLS-1$
53

54     /** Constant for the string <code>extension</code> */
55     public final static String JavaDoc EXTENSION_NAME = "extension"; //$NON-NLS-1$
56

57     /** Constant for the string <code>plugin.xml</code> */
58     public final static String JavaDoc PLUGIN_FILENAME_DESCRIPTOR = "plugin.xml"; //$NON-NLS-1$
59

60     /** Constant for the string <code>feature.xml</code> */
61     public final static String JavaDoc FEATURE_FILENAME_DESCRIPTOR = "feature.xml"; //$NON-NLS-1$
62

63     /** Constant for the string <code>fragment.xml</code> */
64     public final static String JavaDoc FRAGMENT_FILENAME_DESCRIPTOR = "fragment.xml"; //$NON-NLS-1$
65

66     /** Constant for the string <code>META-INF/MANIFEST.MF</code> */
67     public final static String JavaDoc BUNDLE_FILENAME_DESCRIPTOR = "META-INF/MANIFEST.MF"; //$NON-NLS-1$
68

69     public final static String JavaDoc TARGET30 = "3.0"; //$NON-NLS-1$
70
public final static String JavaDoc TARGET31 = "3.1"; //$NON-NLS-1$
71
public final static String JavaDoc TARGET32 = "3.2"; //$NON-NLS-1$
72
public final static String JavaDoc TARGET33 = "3.3"; //$NON-NLS-1$
73

74     public final static String JavaDoc EQUINOX = "Equinox"; //$NON-NLS-1$
75

76     // project preferences
77
public static final String JavaDoc SELFHOSTING_BIN_EXCLUDES = "selfhosting.binExcludes"; //$NON-NLS-1$
78
public static final String JavaDoc EQUINOX_PROPERTY = "pluginProject.equinox"; //$NON-NLS-1$
79
public static final String JavaDoc EXTENSIONS_PROPERTY = "pluginProject.extensions"; //$NON-NLS-1$
80
public static final String JavaDoc RESOLVE_WITH_REQUIRE_BUNDLE = "resolve.requirebundle"; //$NON-NLS-1$
81
public static final String JavaDoc TARGET_PROFILE = "target.profile"; //$NON-NLS-1$
82

83     // for backwards compatibility with Eclipse 3.0 bundle manifest files
84
public final static String JavaDoc PROVIDE_PACKAGE = "Provide-Package"; //$NON-NLS-1$
85
public final static String JavaDoc REPROVIDE_ATTRIBUTE = "reprovide"; //$NON-NLS-1$
86
public final static String JavaDoc OPTIONAL_ATTRIBUTE = "optional"; //$NON-NLS-1$
87
public final static String JavaDoc REQUIRE_PACKAGES_ATTRIBUTE = "require-packages"; //$NON-NLS-1$
88
public final static String JavaDoc SINGLETON_ATTRIBUTE = "singleton"; //$NON-NLS-1$
89
public final static String JavaDoc PACKAGE_SPECIFICATION_VERSION = "specification-version"; //$NON-NLS-1$
90
public static final String JavaDoc IMPORT_SERVICE = "Import-Service"; //$NON-NLS-1$
91
public static final String JavaDoc EXPORT_SERVICE = "Export-Service"; //$NON-NLS-1$
92

93     // Equinox-specific headers
94
public final static String JavaDoc EXTENSIBLE_API = "Eclipse-ExtensibleAPI"; //$NON-NLS-1$
95
public final static String JavaDoc PATCH_FRAGMENT = "Eclipse-PatchFragment"; //$NON-NLS-1$
96
public final static String JavaDoc PLUGIN_CLASS = "Plugin-Class"; //$NON-NLS-1$
97
public final static String JavaDoc ECLIPSE_AUTOSTART = "Eclipse-AutoStart"; //$NON-NLS-1$
98
public final static String JavaDoc ECLIPSE_LAZYSTART = "Eclipse-LazyStart"; //$NON-NLS-1$
99
public final static String JavaDoc ECLIPSE_JREBUNDLE = "Eclipse-JREBundle"; //$NON-NLS-1$
100
public static final String JavaDoc ECLIPSE_BUDDY_POLICY = "Eclipse-BuddyPolicy"; //$NON-NLS-1$
101
public static final String JavaDoc ECLIPSE_REGISTER_BUDDY = "Eclipse-RegisterBuddy"; //$NON-NLS-1$
102
public static final String JavaDoc ECLIPSE_GENERIC_CAPABILITY = "Eclipse-GenericCapabilty"; //$NON-NLS-1$
103
public static final String JavaDoc ECLIPSE_GENERIC_REQUIRED = "Eclipse-GenericRequire"; //$NON-NLS-1$
104
public static final String JavaDoc PLATFORM_FILTER = "Eclipse-PlatformFilter"; //$NON-NLS-1$
105

106     // Equinox-specifid directives
107
public static final String JavaDoc INTERNAL_DIRECTIVE = "x-internal"; //$NON-NLS-1$
108
public static final String JavaDoc FRIENDS_DIRECTIVE = "x-friends"; //$NON-NLS-1$
109

110     public static final String JavaDoc[] TRANSLATABLE_HEADERS = new String JavaDoc[] {
111         Constants.BUNDLE_VENDOR, Constants.BUNDLE_NAME,
112         Constants.BUNDLE_DESCRIPTION, Constants.BUNDLE_COPYRIGHT, Constants.BUNDLE_CATEGORY
113     };
114     
115     // EASTER EGG
116
public static final String JavaDoc[] EE_TOKENS = new String JavaDoc[] {
117         "wassim", "zx", "cherie", "jlb" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
118
};
119     
120     // Common paths
121
public static IPath MANIFEST_PATH = new Path("META-INF/MANIFEST.MF"); //$NON-NLS-1$
122
public static IPath PLUGIN_PATH = new Path("plugin.xml"); //$NON-NLS-1$
123
public static IPath FRAGMENT_PATH = new Path("fragment.xml"); //$NON-NLS-1$
124
public static IPath FEATURE_PATH = new Path("feature.xml"); //$NON-NLS-1$
125
public static IPath BUILD_PROPERTIES_PATH = new Path("build.properties"); //$NON-NLS-1$
126

127
128 }
129
Popular Tags