/*******************************************************************************
- * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
+ * Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v0.5
+ * are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v05.html
+ * http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
- ******************************************************************************/
+ *******************************************************************************/
package net.sourceforge.phpdt.core;
import org.eclipse.core.runtime.IPath;
* wrong.
* <p>
* Java model status object are distinguished by their plug-in id:
- * <code>getPlugin</code> returns <code>"net.sourceforge.phpdt.core"</code>.
+ * <code>getPlugin</code> returns <code>"org.eclipse.jdt.core"</code>.
* <code>getCode</code> returns one of the status codes declared in
* <code>IJavaModelStatusConstants</code>.
* </p>
* @return the list of Java element culprits
* @see IJavaModelStatusConstants
*/
-IJavaElement[] getElements();
+public IJavaElement[] getElements();
+
/**
* Returns the path associated with the failure (see specification
* of the status code), or <code>null</code> if the failure is not
*
* @return the string culprit, or <code>null</code> if none
* @see IJavaModelStatusConstants
+ * @deprecated Use IStatus#getMessage instead
*/
String getString();
/**