blob: ab8712884dacfd6cc9affa16a03f936264bf6c72 [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.breakpoints.details;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.wst.jsdt.debug.internal.ui.JavaScriptDebugUIPlugin;
import org.eclipse.wst.jsdt.debug.internal.ui.breakpoints.Messages;
import org.eclipse.wst.jsdt.debug.internal.ui.breakpoints.editors.AbstractJavaScriptBreakpointEditor;
import org.eclipse.wst.jsdt.debug.internal.ui.breakpoints.editors.StandardJavaScriptBreakpointEditor;
/**
* Suspend policy and hit count detail pane.
*
* @since 1.0
*/
public class StandardBreakpointDetailPane extends AbstractDetailPane {
/**
* Identifier for this detail pane editor
*/
public static final String PANE_ID = JavaScriptDebugUIPlugin.PLUGIN_ID + ".standard_detail_pane"; //$NON-NLS-1$
/**
* Constructor
*/
public StandardBreakpointDetailPane() {
super(Messages.breakpoint_settings, Messages.breakpoint_settings, PANE_ID);
addAutosaveProperties(new int[]{
StandardJavaScriptBreakpointEditor.PROP_HIT_COUNT_ENABLED,
StandardJavaScriptBreakpointEditor.PROP_SUSPEND_POLICY});
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.internal.ui.breakpoints.details.AbstractDetailPane#createEditor(org.eclipse.swt.widgets.Composite)
*/
protected AbstractJavaScriptBreakpointEditor createEditor(Composite parent) {
return new StandardJavaScriptBreakpointEditor();
}
}