|
From: Christopher W. <caw...@us...> - 2006-02-22 20:04:18
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4266/src/org/rubypeople/rdt/internal/ui/rubyeditor Modified Files: DocumentAdapter.java Log Message: complete task inside this file Index: DocumentAdapter.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/DocumentAdapter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DocumentAdapter.java 8 Mar 2005 02:25:44 -0000 1.3 --- DocumentAdapter.java 22 Feb 2006 20:04:13 -0000 1.4 *************** *** 39,42 **** --- 39,43 ---- import org.rubypeople.rdt.core.IBufferChangedListener; import org.rubypeople.rdt.core.IOpenable; + import org.rubypeople.rdt.core.RubyModelException; import org.rubypeople.rdt.internal.ui.RubyPlugin; *************** *** 385,394 **** * @see IBuffer#save(IProgressMonitor, boolean) */ ! public void save(IProgressMonitor progress, boolean force) { try { if (fTextFileBuffer != null) fTextFileBuffer.commit(progress, force); } catch (CoreException e) { ! // TODO Retrhow as RubyModelException when we have it! ! e.printStackTrace(); } } --- 386,394 ---- * @see IBuffer#save(IProgressMonitor, boolean) */ ! public void save(IProgressMonitor progress, boolean force) throws RubyModelException { try { if (fTextFileBuffer != null) fTextFileBuffer.commit(progress, force); } catch (CoreException e) { ! throw new RubyModelException(e); } } |