X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModelStatus.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModelStatus.java index 27a8452..6f55b0c 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModelStatus.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModelStatus.java @@ -1,13 +1,13 @@ /******************************************************************************* - * 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; @@ -46,7 +46,8 @@ public interface IJavaModelStatus extends IStatus { * @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 null if the failure is not @@ -67,6 +68,7 @@ IPath getPath(); * * @return the string culprit, or null if none * @see IJavaModelStatusConstants + * @deprecated Use IStatus#getMessage instead */ String getString(); /**