comparison org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/IRuntimeConstants.d @ 105:bbe49769ec18

...
author Frank Benoit <benoit@tionex.de>
date Sun, 08 Nov 2009 12:42:30 +0100
parents bc29606a740c
children
comparison
equal deleted inserted replaced
104:88652073d1c2 105:bbe49769ec18
2 * Copyright (c) 2005, 2006 IBM Corporation and others. 2 * Copyright (c) 2005, 2006 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
8 * Contributors: 8 * Contributors:
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 10 *******************************************************************************/
13 module org.eclipse.core.internal.runtime.IRuntimeConstants; 11 // Port to the D programming language:
12 // Frank Benoit <benoit@tionex.de>
13 module org.eclipse.core.internal.runtimeIRuntimeConstants;
14 14
15 import java.lang.all; 15 import java.lang.all;
16
16 17
17 public interface IRuntimeConstants { 18 public interface IRuntimeConstants {
18 19
19 /** 20 /**
20 * The unique identifier constant (value "<code>org.eclipse.core.runtime</code>") 21 * The unique identifier constant (value "<code>org.eclipse.core.runtime</code>")
21 * of the Core Runtime (pseudo-) plug-in. 22 * of the Core Runtime (pseudo-) plug-in.
22 */ 23 */
23 public static const String PI_RUNTIME = "org.eclipse.core.runtime"; //$NON-NLS-1$ 24 public static final String PI_RUNTIME = "org.eclipse.core.runtime"; //$NON-NLS-1$
24 25
25 /** 26 /**
26 * Name of this bundle. 27 * Name of this bundle.
27 */ 28 */
28 public static const String PI_COMMON = "org.eclipse.equinox.common"; //$NON-NLS-1$ 29 public static final String PI_COMMON = "org.eclipse.equinox.common"; //$NON-NLS-1$
29 30
30 /** 31 /**
31 * Status code constant (value 2) indicating an error occurred while running a plug-in. 32 * Status code constant (value 2) indicating an error occurred while running a plug-in.
32 */ 33 */
33 public static const int PLUGIN_ERROR = 2; 34 public static final int PLUGIN_ERROR = 2;
34 35
35 /** 36 /**
36 * Status code constant (value 5) indicating the platform could not write 37 * Status code constant (value 5) indicating the platform could not write
37 * some of its metadata. 38 * some of its metadata.
38 */ 39 */
39 public static const int FAILED_WRITE_METADATA = 5; 40 public static final int FAILED_WRITE_METADATA = 5;
40 41
41 } 42 }