|
From: David C. <dc...@us...> - 2005-10-13 01:00:45
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3497/src/org/rubypeople/rdt/core Modified Files: RubyCore.java Log Message: Partial support for opening classes from Test::Unit failure. Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** RubyCore.java 1 Oct 2005 23:01:01 -0000 1.15 --- RubyCore.java 13 Oct 2005 01:00:35 -0000 1.16 *************** *** 33,40 **** import org.rubypeople.rdt.internal.core.RubyScript; import org.rubypeople.rdt.internal.core.parser.RubyParser; public class RubyCore extends Plugin { ! private static Plugin RUBY_CORE_PLUGIN = null; public final static String PLUGIN_ID = "org.rubypeople.rdt.core"; --- 33,41 ---- import org.rubypeople.rdt.internal.core.RubyScript; import org.rubypeople.rdt.internal.core.parser.RubyParser; + import org.rubypeople.rdt.internal.core.symbols.SymbolIndex; public class RubyCore extends Plugin { ! private static RubyCore RUBY_CORE_PLUGIN = null; public final static String PLUGIN_ID = "org.rubypeople.rdt.core"; *************** *** 127,133 **** --- 128,137 ---- public static final String DISABLED = "disabled"; //$NON-NLS-1$ + private SymbolIndex symbolIndex; + public RubyCore() { super(); RUBY_CORE_PLUGIN = this; + symbolIndex = new SymbolIndex(); } *************** *** 137,141 **** * @return the single instance of the Ruby core plug-in runtime class */ ! public static Plugin getPlugin() { return RUBY_CORE_PLUGIN; } --- 141,145 ---- * @return the single instance of the Ruby core plug-in runtime class */ ! public static RubyCore getPlugin() { return RUBY_CORE_PLUGIN; } *************** *** 433,436 **** workspace.run(new BatchOperation(action), rule, IWorkspace.AVOID_UPDATE, monitor); } ! } } \ No newline at end of file --- 437,444 ---- workspace.run(new BatchOperation(action), rule, IWorkspace.AVOID_UPDATE, monitor); } ! } ! ! public SymbolIndex getSymbolIndex() { ! return symbolIndex; ! } } \ No newline at end of file |