|
From: <caw...@us...> - 2007-07-20 17:41:27
|
Revision: 2816
http://svn.sourceforge.net/rubyeclipse/?rev=2816&view=rev
Author: cawilliams
Date: 2007-07-20 10:41:23 -0700 (Fri, 20 Jul 2007)
Log Message:
-----------
trun debug flag off for type hierarchy and allow setting it when launching in development debug mode
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyModelManager.java
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/hierarchy/TypeHierarchy.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyModelManager.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyModelManager.java 2007-07-20 17:34:52 UTC (rev 2815)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyModelManager.java 2007-07-20 17:41:23 UTC (rev 2816)
@@ -90,6 +90,7 @@
import org.rubypeople.rdt.internal.compiler.util.HashtableOfObjectToInt;
import org.rubypeople.rdt.internal.core.buffer.BufferManager;
import org.rubypeople.rdt.internal.core.builder.RubyBuilder;
+import org.rubypeople.rdt.internal.core.hierarchy.TypeHierarchy;
import org.rubypeople.rdt.internal.core.parser.MarkerUtility;
import org.rubypeople.rdt.internal.core.parser.RubyParser;
import org.rubypeople.rdt.internal.core.search.RubyWorkspaceScope;
@@ -110,6 +111,7 @@
public class RubyModelManager implements IContentTypeChangeListener, ISaveParticipant {
private static final String BUFFER_MANAGER_DEBUG = RubyCore.PLUGIN_ID + "/debug/buffermanager"; //$NON-NLS-1$
+ private static final String TYPE_HIERARCHY_DEBUG = RubyCore.PLUGIN_ID + "/debug/typehierarchy"; //$NON-NLS-1$
private static final String RUBYMODEL_DEBUG = RubyCore.PLUGIN_ID + "/debug/rubymodel"; //$NON-NLS-1$
private static final String DELTA_DEBUG = RubyCore.PLUGIN_ID + "/debug/rubydelta"; //$NON-NLS-1$
private static final String DELTA_DEBUG_VERBOSE = RubyCore.PLUGIN_ID
@@ -1444,6 +1446,9 @@
String option = Platform.getDebugOption(BUFFER_MANAGER_DEBUG);
if (option != null) BufferManager.VERBOSE = option.equalsIgnoreCase("true"); //$NON-NLS-1$
+ option = Platform.getDebugOption(TYPE_HIERARCHY_DEBUG);
+ if (option != null) TypeHierarchy.DEBUG = option.equalsIgnoreCase("true"); //$NON-NLS-1$
+
option = Platform.getDebugOption(BUILDER_DEBUG);
if (option != null) RubyBuilder.DEBUG = option.equalsIgnoreCase("true"); //$NON-NLS-1$
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/hierarchy/TypeHierarchy.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/hierarchy/TypeHierarchy.java 2007-07-20 17:34:52 UTC (rev 2815)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/hierarchy/TypeHierarchy.java 2007-07-20 17:41:23 UTC (rev 2816)
@@ -61,7 +61,7 @@
*/
public class TypeHierarchy implements ITypeHierarchy, IElementChangedListener {
- public static boolean DEBUG = true;
+ public static boolean DEBUG = false;
static final byte VERSION = 0x0000;
// SEPARATOR
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|