X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IOpenable.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IOpenable.java index e0e17e3..9409305 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IOpenable.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IOpenable.java @@ -1,16 +1,15 @@ /******************************************************************************* - * 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.IProgressMonitor; /** * Common protocol for Java elements that must be opened before they can be @@ -53,7 +52,7 @@ public interface IOpenable { * * @exception JavaModelException if an error occurs closing this element */ -public void close() throws JavaModelException; +//public void close() throws JavaModelException; /** * Returns the buffer opened for this element, or null * if this element does not have a buffer. @@ -83,7 +82,7 @@ public IBuffer getBuffer() throws JavaModelException; * element's children and has not yet destroyed * */ -boolean hasUnsavedChanges() throws JavaModelException; +//boolean hasUnsavedChanges() throws JavaModelException; /** * Returns whether the element is consistent with its underlying resource or buffer. * The element is consistent when opened, and is consistent if the underlying resource @@ -117,7 +116,7 @@ boolean isOpen(); * * @see IOpenable#isConsistent */ -void makeConsistent(IProgressMonitor progress) throws JavaModelException; +//void makeConsistent(IProgressMonitor progress) throws JavaModelException; /** * Opens this element and all parent elements that are not already open. * For compilation units, a buffer is opened on the contents of the underlying resource. @@ -133,7 +132,7 @@ void makeConsistent(IProgressMonitor progress) throws JavaModelException; *
  • This Java element does not exist (ELEMENT_DOES_NOT_EXIST)
  • * */ -public void open(IProgressMonitor progress) throws JavaModelException; +//public void open(IProgressMonitor progress) throws JavaModelException; /** * Saves any changes in this element's buffer to its underlying resource * via a workspace resource operation. This has no effect if the element has no underlying @@ -164,5 +163,5 @@ public void open(IProgressMonitor progress) throws JavaModelException; *
  • This Java element is read-only (READ_ONLY)
  • * */ -public void save(IProgressMonitor progress, boolean force) throws JavaModelException; +//public void save(IProgressMonitor progress, boolean force) throws JavaModelException; }