1 11 package org.eclipse.jdt.internal.debug.ui; 12 13 14 import org.eclipse.core.runtime.IStatus; 15 import org.eclipse.jface.dialogs.ErrorDialog; 16 import org.eclipse.jface.dialogs.IDialogConstants; 17 import org.eclipse.swt.widgets.Composite; 18 import org.eclipse.swt.widgets.Shell; 19 20 public class ConditionalBreakpointErrorDialog extends ErrorDialog { 21 22 public ConditionalBreakpointErrorDialog(Shell parentShell, String message, IStatus status) { 23 super(parentShell, DebugUIMessages.ConditionalBreakpointErrorDialog_Conditional_Breakpoint_Error_1, message, status, IStatus.ERROR); 24 } 25 26 29 protected void createButtonsForButtonBar(Composite parent) { 30 createButton(parent, IDialogConstants.OK_ID, DebugUIMessages.ConditionalBreakpointErrorDialog__Edit_Condition_2, true); 32 createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); 33 } 34 35 } 36 | Popular Tags |