1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for bug 63612: Debugger Pages are not displayed.

This commit is contained in:
Mikhail Khodjaiants 2004-05-24 21:36:21 +00:00
parent de0397f03e
commit 5b75216401
2 changed files with 11 additions and 8 deletions

View file

@ -1,3 +1,7 @@
2004-05-24 Mikhail Khodjaiants
Fix for bug 63612: Debugger Pages are not displayed.
* CDebugUIPlugin.java
2004-05-21 Mikhail Khodjaiants 2004-05-21 Mikhail Khodjaiants
Removed dependencies on the compatibility plugin and replaced deprecated classes and methods. Removed dependencies on the compatibility plugin and replaced deprecated classes and methods.
Warning cleanup. Warning cleanup.

View file

@ -229,14 +229,13 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen
} }
protected void initializeDebuggerPageMap() { protected void initializeDebuggerPageMap() {
fDebuggerPageMap = new HashMap(10); fDebuggerPageMap = new HashMap( 10 );
IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint( PLUGIN_ID, "CDebuggerPage" ); //$NON-NLS-1$
IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint("CDebuggerPage"); //$NON-NLS-1$ IConfigurationElement[] infos = extensionPoint.getConfigurationElements();
IConfigurationElement[] infos= extensionPoint.getConfigurationElements(); for( int i = 0; i < infos.length; i++ ) {
for (int i = 0; i < infos.length; i++) { String id = infos[i].getAttribute( "debuggerID" ); //$NON-NLS-1$
String id = infos[i].getAttribute("debuggerID"); //$NON-NLS-1$ fDebuggerPageMap.put( id, infos[i] );
fDebuggerPageMap.put(id, infos[i]); }
}
} }
public static void errorDialog( String message, IStatus status ) public static void errorDialog( String message, IStatus status )