X-Git-Url: http://secure.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugElement.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugElement.java
index 8e08bc4..5f63ef0 100644
--- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugElement.java
+++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugElement.java
@@ -1,28 +1,19 @@
/**
- *
+ * @author Christian
+ *
*/
-package net.sourceforge.phpeclipse.xdebug.php.model;
-
+package net.sourceforge.phpeclipse.xdebug.php.model;
import net.sourceforge.phpeclipse.xdebug.php.launching.IXDebugConstants;
-
-//import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.PlatformObject;
-//import org.eclipse.debug.core.DebugEvent;
-//import org.eclipse.debug.core.DebugException;
-//import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.DebugEvent;
+import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.model.IDebugElement;
import org.eclipse.debug.core.model.IDebugTarget;
-//import org.eclipse.debug.core.model.IVariable;
-/**
- * @author Christian
- *
- */
public class XDebugElement extends PlatformObject implements IDebugElement {
-
// containing target
private XDebugTarget fTarget;
@@ -69,53 +60,12 @@ public class XDebugElement extends PlatformObject implements IDebugElement {
return super.getAdapter(adapter);
}
- //protected void abort(String message, Throwable e) throws DebugException {
-/* Axel auskommentiert
- throw new DebugException(new Status(IStatus.ERROR, DebugExamplesPlugin.getDefault().getDescriptor().getUniqueIdentifier(),
- DebugPlugin.INTERNAL_ERROR, message, e));
-*/
- //}
-
/**
* Fires a debug event
*
* @param event the event to be fired
*/
-// protected void fireEvent(DebugEvent event) {
-// DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {event});
-// }
-
- /**
- * Fires a CREATE
event for this element.
- */
-// public void fireCreationEvent() {
-// fireEvent(new DebugEvent(this, DebugEvent.CREATE));
-// }
-
- /**
- * Fires a RESUME
event for this element with
- * the given detail.
- *
- * @param detail event detail code
- */
-// public void fireResumeEvent(int detail) {
-// fireEvent(new DebugEvent(this, DebugEvent.RESUME, detail));
-// }
-
- /**
- * Fires a SUSPEND
event for this element with
- * the given detail.
- *
- * @param detail event detail code
- */
-// public void fireSuspendEvent(int detail) {
-// fireEvent(new DebugEvent(this, DebugEvent.SUSPEND, detail));
-// }
-
- /**
- * Fires a TERMINATE
event for this element.
- */
-// protected void fireTerminateEvent() {
-// fireEvent(new DebugEvent(this, DebugEvent.TERMINATE));
-// }
+ protected void fireEvent(DebugEvent event) {
+ DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {event});
+ }
}
\ No newline at end of file