|
From: Christopher W. <caw...@us...> - 2005-12-13 20:08:00
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9905/src/org/rubypeople/rdt/core Modified Files: RubyCore.java Log Message: implement Ticket #46 (Update code folding on current working copy/editor) Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** RubyCore.java 20 Nov 2005 02:23:11 -0000 1.27 --- RubyCore.java 13 Dec 2005 20:07:47 -0000 1.28 *************** *** 14,19 **** --- 14,21 ---- import java.util.ArrayList; import java.util.Arrays; + import java.util.Hashtable; import java.util.List; + import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; *************** [...972 lines suppressed...] ! * listener is not registered. ! * ! * @param listener ! * the listener ! */ ! public static void removeElementChangedListener(IElementChangedListener listener) { ! RubyModelManager.getRubyModelManager().deltaState.removeElementChangedListener(listener); ! } ! ! /** ! * Returns the single instance of the Ruby core plug-in runtime class. ! * Equivalent to <code>(RubyCore) getPlugin()</code>. ! * ! * @return the single instance of the Ruby core plug-in runtime class ! */ ! public static RubyCore getRubyCore() { ! return (RubyCore) getPlugin(); ! } } \ No newline at end of file |