/**
* Common function of PHP debug model elements
*/
-public abstract class PHPDebugElement extends PlatformObject implements IDebugElement {
+public abstract class PHPDebugElement extends PlatformObject implements
+ IDebugElement {
// containing target
- protected PHPDebugTarget fTarget;
+ protected PHPDebugTarget fTarget;
/**
- * Constructs a new debug element contained in the given
- * debug target.
- *
- * @param target debug target (PHP VM)
+ * Constructs a new debug element contained in the given debug target.
+ *
+ * @param target
+ * debug target (PHP VM)
*/
- public PHPDebugElement(PHPDebugTarget target) {
+ public PHPDebugElement(PHPDebugTarget target) {
fTarget = target;
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.debug.core.model.IDebugElement#getModelIdentifier()
*/
public String getModelIdentifier() {
return null;
- // return PHPDebugCorePlugin.PLUGIN_ID;
- // return IPDAConstants.ID_PDA_DEBUG_MODEL;
+ // return PHPDebugCorePlugin.PLUGIN_ID;
+ // return IPDAConstants.ID_PDA_DEBUG_MODEL;
}
- /* (non-Javadoc)
+
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.debug.core.model.IDebugElement#getDebugTarget()
*/
public IDebugTarget getDebugTarget() {
return fTarget;
}
- /* (non-Javadoc)
+
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.debug.core.model.IDebugElement#getLaunch()
*/
public ILaunch getLaunch() {
return getDebugTarget().getLaunch();
}
- /* (non-Javadoc)
+
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
*/
public Object getAdapter(Class adapter) {
}
protected void abort(String message, Throwable e) throws DebugException {
- throw new DebugException(new Status(IStatus.ERROR, null /*DebugExamplesPlugin.getDefault().getDescriptor().getUniqueIdentifier()*/,
- DebugPlugin.INTERNAL_ERROR, message, e));
+ throw new DebugException(
+ new Status(
+ IStatus.ERROR,
+ null /* DebugExamplesPlugin.getDefault().getDescriptor().getUniqueIdentifier() */,
+ DebugPlugin.INTERNAL_ERROR, message, e));
}
/**
* Fires a debug event
- *
- * @param event the event to be fired
+ *
+ * @param event
+ * the event to be fired
*/
protected void fireEvent(DebugEvent event) {
- DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {event});
+ DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] { event });
}
/**
}
/**
- * Fires a <code>RESUME</code> event for this element with
- * the given detail.
- *
- * @param detail event detail code
+ * Fires a <code>RESUME</code> 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 <code>SUSPEND</code> event for this element with
- * the given detail.
- *
- * @param detail event detail code
+ * Fires a <code>SUSPEND</code> 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));