|
From: David C. <dc...@us...> - 2005-10-16 19:03:50
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31086/src/org/rubypeople/rdt/core Modified Files: RubyCore.java Log Message: Refactored Listener for project opener. Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** RubyCore.java 16 Oct 2005 17:29:21 -0000 1.17 --- RubyCore.java 16 Oct 2005 19:03:41 -0000 1.18 *************** *** 1,6 **** /* ! * Author: David Corbin * ! * Copyright (c) 2005 RubyPeople. * * This file is part of the Ruby Development Tools (RDT) plugin for eclipse. --- 1,6 ---- /* ! * Author: * ! * Copyright (c) 2003-2005 RubyPeople. * * This file is part of the Ruby Development Tools (RDT) plugin for eclipse. *************** *** 208,212 **** String modelManagerOption = Platform.getDebugOption(RubyCore.PLUGIN_ID + "/modelmanager"); ! RubyModelManager.VERBOSE = modelManagerOption == null ? false : rubyParserOption.equalsIgnoreCase("true"); IndexUpdater indexUpdater = new IndexUpdater(symbolIndex); --- 208,213 ---- String modelManagerOption = Platform.getDebugOption(RubyCore.PLUGIN_ID + "/modelmanager"); ! RubyModelManager.VERBOSE = modelManagerOption == null ! ? false : rubyParserOption.equalsIgnoreCase("true"); IndexUpdater indexUpdater = new IndexUpdater(symbolIndex); *************** *** 227,231 **** public static boolean upgradeOldProject(IProject project) throws CoreException { ! IRubyProject rubyProject = RubyModelManager.getRubyModelManager().getRubyModel().getRubyProject(project); if (rubyProject != null) return rubyProject.upgrade(); --- 228,234 ---- public static boolean upgradeOldProject(IProject project) throws CoreException { ! RubyModelManager rubyModelManager = RubyModelManager.getRubyModelManager(); ! RubyModel rubyModel = rubyModelManager.getRubyModel(); ! IRubyProject rubyProject = rubyModel.getRubyProject(project); if (rubyProject != null) return rubyProject.upgrade(); |