blob: 86c1a86d768417794c2c20601c429ba09f676692 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.jsdt.debug.internal.ui.adapters;
import org.eclipse.debug.core.model.IDebugTarget;
import org.eclipse.debug.internal.ui.viewers.update.DebugEventHandler;
import org.eclipse.debug.internal.ui.viewers.update.DebugTargetProxy;
/**
* Model proxy for our {@link IJavaScriptDebugTarget}
*
* @since 1.0
*/
public class JavaScriptDebugTargetProxy extends DebugTargetProxy {
/**
* Constructor
* @param target
*/
public JavaScriptDebugTargetProxy(IDebugTarget target) {
super(target);
}
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.viewers.update.DebugTargetProxy#createEventHandlers()
*/
protected DebugEventHandler[] createEventHandlers() {
return new DebugEventHandler[] {new JavaScriptDebugTargetEventHandler(this), new JavaScriptThreadHandler(this)};
}
}