1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 11:45:38 +02:00

Added default preferences to the C/C++ Debug preference page.

This commit is contained in:
Mikhail Khodjaiants 2004-04-01 00:16:19 +00:00
parent 6f76f7d816
commit 4963455c1d
2 changed files with 4 additions and 7 deletions

View file

@ -1,3 +1,7 @@
2004-03-31 Mikhail Khodjaiants
Added default preferences to the C/C++ Debug preference page.
* CDebugCorePlugin.java
2004-03-31 Mikhail Khodjaiants 2004-03-31 Mikhail Khodjaiants
The Registers view has been contibuted and moved to the Eclipse platform. The Registers view has been contibuted and moved to the Eclipse platform.
To enable updating set the default value of the auto-refresh flag of the registers to true. To enable updating set the default value of the auto-refresh flag of the registers to true.

View file

@ -218,7 +218,6 @@ public class CDebugCorePlugin extends Plugin
public void startup() throws CoreException public void startup() throws CoreException
{ {
super.startup(); super.startup();
initDefaultPreferences();
resetBreakpointsInstallCount(); resetBreakpointsInstallCount();
setSessionManager( new SessionManager() ); setSessionManager( new SessionManager() );
} }
@ -275,10 +274,4 @@ public class CDebugCorePlugin extends Plugin
{ {
return SourceUtils.getCommonSourceLocationsFromMemento( CDebugCorePlugin.getDefault().getPluginPreferences().getString( ICDebugConstants.PREF_SOURCE_LOCATIONS ) ); return SourceUtils.getCommonSourceLocationsFromMemento( CDebugCorePlugin.getDefault().getPluginPreferences().getString( ICDebugConstants.PREF_SOURCE_LOCATIONS ) );
} }
private void initDefaultPreferences()
{
// for now
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_REGISTERS_AUTO_REFRESH, true );
}
} }