package net.sourceforge.phpeclipse.xdebug.php.model;
-import net.sourceforge.phpeclipse.xdebug.core.ResponseData;
+
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.DebugException;
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
- protected XDebugTarget fTarget;
+ protected/*private*/ XDebugTarget fTarget;
/**
* Constructs a new debug element contained in the given
fTarget = target;
}
+ public XDebugElement() {
+ fTarget = null;
+ }
+
/* (non-Javadoc)
* @see org.eclipse.debug.core.model.IDebugElement#getModelIdentifier()
*/
public IDebugTarget getDebugTarget() {
return fTarget;
}
+
/* (non-Javadoc)
* @see org.eclipse.debug.core.model.IDebugElement#getLaunch()
*/
return super.getAdapter(adapter);
}
- protected void abort(String message, Throwable e) throws DebugException {
+ //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
*/
protected void fireTerminateEvent() {
fireEvent(new DebugEvent(this, DebugEvent.TERMINATE));
- }
-
- public void fireDebugResponseEvent(ResponseData data) {
- DebugEvent de=new DebugEvent(this, DebugEvent.MODEL_SPECIFIC);
- de.setData(data);
- fireEvent(de);
- }
+ }
}
\ No newline at end of file