----- Original Message -----
Sent: Thursday, February 13, 2003 10:50
AM
Subject: [cdt-patch] Use the 'asyncExec'
method of the 'DebugPlugin' class (core)
Index:
ChangeLog
===================================================================
RCS
file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving
revision 1.132
diff -u -r1.132 ChangeLog
--- ChangeLog 13 Feb 2003
00:15:50 -0000 1.132
+++ ChangeLog 13 Feb 2003 15:50:06
-0000
@@ -1,3 +1,8 @@
+2003-02-13 Mikhail Khodjaiants
+ Use the
'asyncExec' method of the 'DebugPlugin' class.
+ *
IAsyncExecutor.java: removed
+ *
CDebugCorePlugin.java
+
2003-02-12 Mikhail
Khodjaiants
The gdb-specific 'setAutoSolibMethod' method is
removed from ICDISharedLibraryManager.
*
ICDISharedLibraryManager.java
Index:
src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
===================================================================
RCS
file:
/home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java,v
retrieving
revision 1.10
diff -u -r1.10 CDebugCorePlugin.java
---
src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java 27 Jan 2003 22:28:13
-0000 1.10
+++
src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java 13 Feb 2003 15:50:06
-0000
@@ -39,8 +39,6 @@
private HashMap
fDebugConfigurations;
- private IAsyncExecutor
fAsyncExecutor = null;
-
/**
* The
constructor.
*/
@@ -201,15 +199,9
@@
}
}
}
-
- public
void setAsyncExecutor( IAsyncExecutor executor
)
- {
- fAsyncExecutor =
executor;
- }
-
+
public void asyncExec(
Runnable runnable )
{
- if ( fAsyncExecutor !=
null )
- fAsyncExecutor.asyncExec( runnable
);
+ DebugPlugin.getDefault().asyncExec( runnable
);
}
}
Index:
src/org/eclipse/cdt/debug/core/IAsyncExecutor.java
===================================================================
RCS
file: src/org/eclipse/cdt/debug/core/IAsyncExecutor.java
diff -N
src/org/eclipse/cdt/debug/core/IAsyncExecutor.java
---
src/org/eclipse/cdt/debug/core/IAsyncExecutor.java 27 Jan 2003 22:28:13
-0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16
+0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All
Rights Reserved.
- *
- */
-package
org.eclipse.cdt.debug.core;
-
-/**
- * Enter type comment.
- *
- * @since: Jan 27, 2003
- */
-public interface
IAsyncExecutor
-{
- void asyncExec( Runnable runnable
);
-}