1 11 package org.eclipse.jdt.core; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 15 44 public interface IOpenable { 45 46 56 public void close() throws JavaModelException; 57 69 public String findRecommendedLineSeparator() throws JavaModelException; 70 79 public IBuffer getBuffer() throws JavaModelException; 80 99 boolean hasUnsavedChanges() throws JavaModelException; 100 115 boolean isConsistent() throws JavaModelException; 116 120 boolean isOpen(); 121 141 void makeConsistent(IProgressMonitor progress) throws JavaModelException; 142 157 public void open(IProgressMonitor progress) throws JavaModelException; 158 188 public void save(IProgressMonitor progress, boolean force) throws JavaModelException; 189 } 190 | Popular Tags |